1.0.0 • Published 5 years ago
bearly-functional v1.0.0
bearly-functional
a repo of functions, some functional, some bearly 🐻
- ritewayfor unit testing
- code coverage with nyc
- bundling with rollupand transpiling withbabel
- builds .cjs,.esmand.umdfiles
Docs
https://puiutucutu.github.io/bearly-functional/
Install
npm installBrowser
Grab a umd build from → https://www.jsdelivr.com/package/npm/bearly-functional
Browser version uses the bf namespace as in:
bf.first(["a","b","c"]); //=> "a"Package Scripts
Build
npm run buildTests
npm run testCoverage
npm run coverageTodos
- extract date fns to own library