Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Florian's Little Iterator Library

Build status

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.

What's Included

How to Use

Deno

// main.ts
import * as lilit from 'https://unpkg.com/lilit/ts/index.ts';

Run via deno main.ts

Node 11+ Modules

// main.mjs
import * as lilit from 'lilit/mjs';

Run via node --experimental-modules main.mjs

Node Require

// main.js
const lilit = require('lilit');

Run via node main.js

Browser Imports

// main.js
import * as lilit from 'https://unpkg.com/lilit/mjs/index.mjs';

Load via <script type="module" src="./main.js"></script>

Other

To see what else is availabe, browse the package contents.