Skip to content

diogoazevedos/pipe-fun

Repository files navigation

pipe-fun

Build and compose pipelines with ease

Install

npm install -S pipe-fun

Usage

import {_, pipe} from 'pipe-fun';

const pipeline = pipe(() => ({name: 'John Smith'}), user => user.name);

await pipeline(_);
//=> John Smith