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