fcomp

1.1.0 • Public • Published

fcomp

function composition

Installation

$ npm install fcomp

or

$ component install nathan7/fcomp

API

fcomp(a, b, ..) -> Function (a, b, ..)

Composes the given functions. The return value of each function is passed to the next. All the arguments are passed to the first function.

fcomp.reverse(...fns)

Equivalent to fcomp(...fns.reverse())

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fcomp

Weekly Downloads

3

Version

1.1.0

License

MIT

Last publish

Collaborators

  • nathan7