js-pipy
Use pipeline to prettier code.
Installation guide
- clone this repo locally
npm i @htibor/js-pipy --save
Usage
const {pipy} = require('@htibor/js-pipy');
// example functions
const capitalize = str => str.toUpperCase()
const exclaim = str => `${str}!!!`
pipy(capitalize, exclaim)('youareawesome');
// result: YOUAREAWESOME!!!