0.9.2 • Published 2 months ago
@keienla/functional v0.9.2
Functional
Functional is just a library for Functional Programming in Typescript.
Methods
- add
- and
- arrayIs
- compose
- constant
- curry (WIP - description + documentation - type with length)
- deepFreeze
- divide
- filter
- filterObject
- flipArgs
- freeze
- gatherArgs
- identity
- is
- isLength
- isnt
- isType (test unknown, any)
- length
- map
- mapObject
- memoize
- multiply
- nAry
- not
- notSameLength
- objectIs
- or
- partial
- pick
- pickAll
- pipe
- reduce
- reduceObject
- reverseArgs
- sameLength
- spreadArgs
- substract
- transpoline
- type
- unAry
- uncurry (WIP - documentation - tests? - redo the type)
- when
- whenElse
TODO
Documentation
- Add the args in documentation for each methods and the types
- Check all examples
Maybe todo one day
- Monades
Build
After npm run build, if want to create a pack folder, go to the dist folder and run "npm pack" -->