Getting Started
Installation
npm install @wioenena.q/pipe # or yarn add @wioenena.q/pipe
Usage
const { pipe } = require("@wioenena.q/pipe");
// pipe(functions)(inital arguments)
pipe(
(x) => x + 1,
(x) => x * 2,
(x) => x + 3
)(1); // 7
npm install @wioenena.q/pipe # or yarn add @wioenena.q/pipe
const { pipe } = require("@wioenena.q/pipe");
// pipe(functions)(inital arguments)
pipe(
(x) => x + 1,
(x) => x * 2,
(x) => x + 3
)(1); // 7
npm i @wioenena.q/pipe
1
1.0.2
MIT
1.28 kB
4