pipe-into
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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. 

Readme

Keywords

none

Package Sidebar

Install

npm i pipe-into

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.53 kB

Total Files

6

Last publish

Collaborators

  • drew-y