npm install funky-libA FUNctional libary.
---
> Hey, this looks like https://github.com/ramda/ramda.
Yup, this thing started as an exercise. Most of the functions have the same signatures, there are some implementation differences. Most notably the functions that have a native equivalent are usually just wrapped so you can pass all arguments to them (although the arguments are always ordered in such a way that the data to be operated on is last).
npm run test - runs all tests once
npm run test:watch - runs jest in 'watch' mode which will run only tests on affected files
npm run build - builds the library as UMD and ES
Work in progress: Documentation
Currently lacks examples, but you can find those in the *.test.js files.