lilit
lilit (Little Iterator library) is an iterator library so simple you could’ve written it yourself.
Faced with the challenge of Solving Advent of Code Puzzles with ES Generators without a proper standard library, I’ve started implementing my own. I’ve quickly realized that it is surprisingly easy to implement common operators such as map
and reduce
using ECMAScript’s generator functions. Eventually the utility library grew to the point where releasing it separately made sense.