1.0.0 • Published 4 years ago
bearly-functional v1.0.0
bearly-functional
a repo of functions, some functional, some bearly 🐻
riteway
for unit testing- code coverage with
nyc
- bundling with
rollup
and transpiling withbabel
- builds
.cjs
,.esm
and.umd
files
Docs
https://puiutucutu.github.io/bearly-functional/
Install
npm install
Browser
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 build
Tests
npm run test
Coverage
npm run coverage
Todos
- extract date fns to own library