lilit
TypeScript icon, indicating that this package has built-in type declarations

0.6.10 • Public • Published

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.

/lilit/

    Package Sidebar

    Install

    npm i lilit

    Weekly Downloads

    26

    Version

    0.6.10

    License

    MIT

    Unpacked Size

    407 kB

    Total Files

    42

    Last publish

    Collaborators

    • qwtel