What is declarative-js
declarative-js is modern JavaScript library, that helps to:
- tackle array transformation with built in JavaScript array api (e.g.
array.filter(toBe.unique())
), - provide a type-level solution for representing optional values instead of null references.
Why declarative-js?
- performance (link to benchmarks)
- ability to use with built in api (js array)
- it is written in
typescript
. All functions provides great type inference - declarative code instead of imperative
- reduces boilerplate code providing performant and tested solutions
- comprehensive documentation (link)
- Target version of javascript is ES5
- Internet Explorer 11 compatible
Install
npm i declarative-js --save
Documentation
All documentation can be found here: link
License
MIT