just-pipe
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

just-pipe

Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.

🍦 Try it

npm install just-pipe
yarn add just-pipe

Pass a value through a pipeline of functions

import pipe from 'just-pipe

pipe(3, a => a+1, b => b*2) // 8
pipe('John Smith', a => a.split(' '), b => b.reverse(), c => c[0]) // 'Smith'

Readme

Keywords

Package Sidebar

Install

npm i just-pipe

Weekly Downloads

2,678

Version

1.0.0

License

MIT

Unpacked Size

5.39 kB

Total Files

7

Last publish

Collaborators

  • angus-c