Congruity replaced Jenp Click Here
Jenp is a library to help developers build applications using functional development. Documentation : Here
npm install
gulp watch
gulp build
gulp test
gulp doc
Jenp is currently broken down into 4 modules.
This module contains all functions that can be utilized for functional development such as compose, pipe, curry etc.
This module consist or 3 monads
- Maybe: used to handle nullable data
- IO: used to handle the effects of DOM manipulations, but also used as a description of effects that are evaluated at a later time
- Either: Used for handling 2 sides, where there is a success or a failure. Right side indicates success and is leaned on, where as left is the other state used to errors.
This modules is useful if you need a (or combination of) design pattern(s) for you application. Example would be to create middleware, add decorators to existing classes to enhance functionality or simply use classes to create factories.
This is a module one could use to add an observerable pattern to their application and forgo the use of promises and call backs. Similar to RxJS, just smaller and with the ability to create ones own operators.