šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

declarative-js

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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 referen

3.8.16
latest
Source
npm
Version published
Weekly downloads
479
-1.84%
Maintainers
1
Weekly downloads
Ā 
Created
Source

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

npm version Build Status Coverage Status Language grade: JavaScript

Install

npm i declarative-js --save

Documentation

All documentation can be found here: link

License

MIT

Keywords

optional

FAQs

Package last updated on 25 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts