composing

1.0.1 • Public • Published

composing

composing of functions

const composing = require('composing')

const composed = composing((r) => r * 2, (r) => r * 3)

assert(composed(4)===24)

// Example
composing(JSON.parse, JSON.stringify)({})
composing(JSON.stringify, JSON.parse)('{}')

composing(f[,otherFunctions]) -> Function

Readme

Keywords

none

Package Sidebar

Install

npm i composing

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.03 kB

Total Files

5

Last publish

Collaborators

  • cereceres