Skip to content

puiutucutu/bearly-functional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bearly-functional

a repo of functions, some functional, some bearly 🐻

  • riteway for unit testing
  • code coverage with nyc
  • bundling with rollup and transpiling with babel
  • 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