Skip to content

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

Notifications You must be signed in to change notification settings

OliverJAsh/iterable-transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

transformers Iterable AsyncIterable
map
flatten
reduce
toArray
filter TODO TODO
take TODO TODO
takeWhile
takeUntil TODO TODO
drop TODO TODO
dropWhile TODO TODO
dropUntil TODO TODO

Development

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

To do

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published