1.0.2 • Published 6 years ago

tiny-dash v1.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

Tiny-dash

WHY?

I love the point free style code, but to use it we need to import 3rd party libraries. This tiny module leverages Js own array methods, just swaps the order. Allowing for piping and currying.

Note it's uses es6 modules and some fancy newer node features so be aware.

Usage

Just import as you would import any module and use the functions you need.

import T from 'tiny-dash';

T.map(console.log, [1,2,3]);

This module supports most of the common methods from array which allow for fp style code by chaining. E.G. map, filter, reduce and so on.

Extra functions added are curry, pipe and compose.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago