{"id":16446025,"url":"https://github.com/qwtel/lilit","last_synced_at":"2025-02-26T10:15:34.419Z","repository":{"id":145442057,"uuid":"173442085","full_name":"qwtel/lilit","owner":"qwtel","description":"Florian's little iterator library.","archived":false,"fork":false,"pushed_at":"2019-04-05T10:20:36.000Z","size":545,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T01:47:20.902Z","etag":null,"topics":["async-await","async-iterators","for-await-of","iterator-library","iterators","library"],"latest_commit_sha":null,"homepage":"https://qwtel.com/posts/software/solving-advent-of-code-puzzles-with-es-generators/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qwtel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-02T11:55:57.000Z","updated_at":"2019-12-11T22:41:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"fff9cf92-262d-4977-a854-769a19b37cc2","html_url":"https://github.com/qwtel/lilit","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwtel%2Flilit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwtel%2Flilit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwtel%2Flilit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwtel%2Flilit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwtel","download_url":"https://codeload.github.com/qwtel/lilit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240831382,"owners_count":19864718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async-await","async-iterators","for-await-of","iterator-library","iterators","library"],"created_at":"2024-10-11T09:46:11.075Z","updated_at":"2025-02-26T10:15:34.353Z","avatar_url":"https://github.com/qwtel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Florian's Little Iterator Library\n\n[![Build status][tr-svg]][travis]\n\nAn iterator library that is so simple you could have written it yourself.\n\nECMAScriopt's new (async) generator functions are powerful and almost seem to be designed to build libraries like these.\n\n## What's Included\n- [x] [Sync iterator version](./src/iter.ts)\n- [x] [Async iterator version](./src/async-iter.ts)\n- [ ] [itertools] Feature Parity\n- [x] Type Declarations\n- [ ] Typedoc\n- [x] Basic Tests\n- [ ] Advanced Tests\n- [x] Usable everywhere\n    - [x] [Deno]\n    - [x] Node Modules\n    - [x] Node Require\n    - [x] Browser Imports\n- [ ] 1.0 Release\n\n[deno]: https://deno.land\n[itertools]: https://docs.python.org/2/library/itertools.html\n\n## How to Use\n\n### Deno\n\n```ts\n// main.ts\nimport * as lilit from 'https://unpkg.com/lilit/ts/index.ts';\n```\nRun via `deno main.ts`\n\n### Node 11+ Modules\n\n```js\n// main.mjs\nimport * as lilit from 'lilit/mjs';\n```\n\nRun via `node --experimental-modules main.mjs`\n\n### Node Require\n```js\n// main.js\nconst lilit = require('lilit');\n```\n\nRun via `node main.js`\n\n### Browser Imports\n```js\n// main.js\nimport * as lilit from 'https://unpkg.com/lilit/mjs/index.mjs';\n```\n\nLoad via `\u003cscript type=\"module\" src=\"./main.js\"\u003e\u003c/script\u003e`\n\n### Other\nTo see what else is availabe, [browse the package contents](https://unpkg.com/lilit/).\n\n\n[tr-svg]: https://travis-ci.org/qwtel/lilit.svg?branch=master\n[travis]: https://travis-ci.org/qwtel/lilit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwtel%2Flilit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwtel%2Flilit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwtel%2Flilit/lists"}