A learning functional library for javascript
const { map } = require('fun-fp')
const add1 = map(v => v + 1)
console.log(add1([1,2,3]))
npm install fun-fp -S
npm run build
- append
- byIndex
- concat
- contains
- flatten
- filter
- find
- head
- init
- map
- prepend
- reduce
- remove
- reject
- reverse
- tail
- tap
- update
All contributions are welcome, each function is separated in a topic folder and then a specific folder for that function with a index.js, README.md, and test.js file.
When adding a new function be sure to include it in the src/index.js file as a require.
MIT