fun-fp
v1.14.0
Published
a fun and lightweight functional library
Downloads
22
Readme
fun functional programming
A learning functional library for javascript
Usage
const { map } = require('fun-fp')
const add1 = map(v => v + 1)
console.log(add1([1,2,3]))
Install
npm install fun-fp -S
Build src
npm run build
Modules
Function
List
- append
- byIndex
- concat
- contains
- flatten
- filter
- find
- head
- init
- map
- prepend
- reduce
- remove
- reject
- reverse
- tail
- tap
- update
Logic
Math
Object
Relation
String
Type
Contributors
Contributing
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.
License
MIT