2.0.3 ā€¢ Published 3 months ago

@excelsia/pipe v2.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

@exelcia/pipe

Pipe as in the way it should be. This is based on fp-ts. It also includes a custom Error object that traces the information of where it happened to facilitate debugging.

How to use

import { pipe } from '@excelsia/pipe';

const len = (s: string): number => s.length
const double = (n: number): number => n * 2

// without pipe
double(len('aaa')) === 6 // true

// with pipe
pipe('aaa', len, double) === 6 // true

About the Author

Hi, I'm bop, a software engineer who loves to learn and create new stuff. Connect with me to stay updated on what I'm doing and my projects.

šŸŒ Website: bop.systems šŸ“§ Email: brunooliveira37@hotmail.com

šŸ“± Social Media:

You can also buy me a coffee to support me, if you like what I do