Skip to content

hegedustibor/js-pipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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