Common FP – A New JavaScript Utility Lib
Common FP – A New JavaScript Utility Lib
Who is this for? - Devs looking for utilities that treat data types generically. For example, common-fp has a `mapValues` function that takes an array, object, Map, or Set and returns a new instance of the data type passed in. - Devs interested in functional utilities without the jargon. In my experience, some functional concepts are too foreign for the broader community and pose a barrier to entry. Common FP lowers that barrier by naming the utilities in plain English, not currying, keeping the source intended for the common devs' eyes, and more. Other features - An in-browser playground: https://common-fp.org/try-it - Supports TypeScript: install types via `npm install common-fp-types` - Supports cjs: i.e. you can `require('common-fp')` - 100% test coverage. Types are tested as well via tstyche. - For every utility, I try to explain why it's useful along with a code example. This is more difficult than it seems, and I'm open to feedback. A personal note - I built this as a personal endeavor. I wasn't trying to solve a problem the community had, so I understand if people find Common FP to be odd or unnecessary. Finishing a project is difficult, and I'm mostly happy just to have done that and present what I consider to be a polished product. Link to source - https://github.com/common-fp/common-fp/tree/dev/pkg/common-f... Thanks for taking a look, Phil
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
A new EventEmitter for Deno ( and every other JavaScript runtimes)
JavaScript is the new Punk Rock
New unix utility "when"
JavaScript-like generators on Common Lisp
New HN titles JavaScript app without dependencies
Utility for creating, accessing, and managing namespaces in Common Lisp
New async JavaScript paradime with async generator and async iteration
TypeIt – A Versatile JavaScript Animated Typing Utility
Heroku buildpack for Common Lisp
cl-avro – A Common Lisp implementation of Avro