Skip to content
Florian's little iterator library.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
test
.gitignore
.prettierrc
.travis.yml
README.md
package-lock.json
package.json
tsconfig.es5.json
tsconfig.json
tsconfig.mjs.json

README.md

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

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

Run via deno index.ts

Node 11+ Modules

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

Run via node --experimental-modules index.mjs

Node Require

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

Run via node index.js

Browser Imports

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

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

Other

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

You can’t perform that action at this time.