pipe-fns

v1.0.1
easily pipe many functions to a value
pipe pipeline operator reduce functions fns pipe fns

pipe-fns

npm package

Easily pipe functions, similar to the proposal pipeline operator but with a more familiar syntax

Usage

const pipe = require('pipe-fns')

const capitalize = txt => txt.toUpperCase()
const exclame = txt => `${txt}!`

pipe('pipe it up', capitalize, exclame) // PIPE IT UP!

License

MIT © Jack Hanford

npm i pipe-fns

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/23/2018

Downloads

Maintainers