Giter Site home page Giter Site logo

qwtel / lilit Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 545 KB

Florian's little iterator library.

Home Page: https://qwtel.com/posts/software/solving-advent-of-code-puzzles-with-es-generators/

JavaScript 4.33% TypeScript 95.67%
iterators iterator-library async-iterators async-await for-await-of library

lilit's Introduction

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.

lilit's People

Contributors

qwtel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.