pipe-fns

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i pipe-fns

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

2.15 kB

Total Files

4

Last publish

Collaborators

  • hanford