pipe-fns

easily pipe many functions to a value

Usage no npm install needed!

<script type="module">
  import pipeFns from 'https://cdn.skypack.dev/pipe-fns';
</script>

README

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