funny-compose

1.0.3 • Public • Published

compose

Simple modules for functional programming, done for fun.

Usage

import compose from 'funny-compose'
 
const greatestRoundedUp = compose(Math.max, Math.ceil)
 
greatestRoundedUp(1.2, 2.3, 3.4) // 4

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

Package Sidebar

Install

npm i funny-compose

Weekly Downloads

3

Version

1.0.3

License

MIT

Last publish

Collaborators

  • goblindegook