0.0.2 • Published 7 years ago
fp-helpers v0.0.2
FP-Helpers
Collections of helper functions for functional programming.
Installation
# npm
npm install fp-helpers
# yarn
yarn add fp-helpers
API
Function | Description |
---|---|
compose(f, g, ...)(myvalue) | Compose multiple synchronous functions |
composeAsync(f, g, ...)(myvalue) | Compose multiple asynchronous functions |
toKoa(fn) | Convert to koa middleware |
License
MIT, see LICENSE.md.