0.0.3 • Published 7 years ago

iterable-transformers v0.0.3

Weekly downloads
15
License
-
Repository
-
Last release
7 years ago

iterable-transformers

Type-safe transformer functions for Iterable and AsyncIterable (map, flatten, reduce, etc.).

This is just a start. I'm looking for contributors :-)

IxJS is supposed to solve this problem, but I wanted something I could start using today.

Installation

yarn add iterable-transformers

Transformers

transformersIterableAsyncIterable
map
flatten
reduce
toArray
filterTODOTODO
takeTODOTODO
takeWhile
takeUntilTODOTODO
dropTODOTODO
dropWhileTODOTODO
dropUntilTODOTODO

Development

yarn
yarn run lint
yarn run compile
node ./target/examples/Iterable.js
node ./target/examples/AsyncIterable.js

To do