Florian's little iterator library.
An iterator library that is so simple you could have written it yourself.
ECMAScriopt’s new (async) generator functions are powerful and almost seem to be designed to build libraries like these.
// main.ts
import * as lilit from 'https://unpkg.com/lilit/ts/index.ts';
Run via deno main.ts
// main.mjs
import * as lilit from 'lilit/mjs';
Run via node --experimental-modules main.mjs
// main.js
const lilit = require('lilit');
Run via node main.js
// main.js
import * as lilit from 'https://unpkg.com/lilit/mjs/index.mjs';
Load via <script type="module" src="./main.js"></script>
To see what else is availabe, browse the package contents.