structs-compose
Function composition.
Composing any number of functions is a chaining process in which the output of a function gets passed to the next function and so on until a final output is produced.
f(data) -> modified data -> g(modified data) -> ...
Installation
$ npm install structs-compose
Example
var times2plus1 = // times2plus1(3) -> 7 { return x + 1} { return x * 2}
Usage
Documentation is available here.
Tests
$ npm test