lilit

lilit (Florians’s little iterator library) is a library that is so simple, you could’ve written it yourself.

Faced with the challenge of solving Advent of Code puzzeles in JavaScript 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.