1) Devs looking for utilities that treat data types generically. For example, `mapValues` takes an array, object, Map or Set and returns a new instance.
2) Devs interested in functional utilities without the jargon. Utilities are named in plain English, there's no currying, and its source is kept simple.
## Other features
- An in-browser playground: https://common-fp.org/try-it
- Supports TypeScript
- 100% test coverage with types tested as well.
- For every utility, I try to explain why it's useful along with a code example.
## A personal note
- I built this as a personal endeavor. I wasn't trying to solve a problem the community expressed, so I understand if people find it 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
* This is a repost since the first time was over a US holiday. Original post here: https://news.ycombinator.com/item?id=45084163
loading...