Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 635 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 635 Bytes

js-pipy-social

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!!!