fcomp

function composition

fcomp

function composition

$ npm install fcomp

or

$ component install nathan7/fcomp

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

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

MIT