pipe-into
v1.0.0
Published
Typescript implementation of the pipe pattern
Downloads
1
Readme
Pipe Into
Simple implementation of the pipe pattern for Typescript.
Installation
npm i pipe-into
Usage
import { pipe } from "pipe-into";
const five = pipe(30)
.into(v => v * 3)
.into(v => v / 9)
.into(v => v / 2)
.val;
Building and Testing
npm test # If no error is thrown, the tests succeeded.