Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

just-compose

1.1.0 • Public • Published

just-compose

Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

Try it now

import compose from 'just-compose';
 
const sqRootBiggest = compose(Math.trunc, Math.sqrt, Math.max);
sqRootBiggest(10, 5); // 3
sqRootBiggest(7, 0, 16); // 4

install

npm i just-compose

Downloadsweekly downloads

159

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability