{"id":16949815,"url":"https://github.com/kermanx/lazy-iterator","last_synced_at":"2026-05-08T08:06:51.909Z","repository":{"id":175857705,"uuid":"654519375","full_name":"kermanx/lazy-iterator","owner":"kermanx","description":"Yet another impl of lazy-calculated iteration.","archived":false,"fork":false,"pushed_at":"2023-07-12T06:52:13.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T10:15:42.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kermanx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-16T09:58:41.000Z","updated_at":"2023-07-07T07:26:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3f9852d-9ae5-4df8-94d8-8c8b923a142b","html_url":"https://github.com/kermanx/lazy-iterator","commit_stats":null,"previous_names":["kermanx/lazy-iterate","kermanx/lazy-iterator"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kermanx/lazy-iterator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Flazy-iterator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Flazy-iterator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Flazy-iterator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Flazy-iterator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kermanx","download_url":"https://codeload.github.com/kermanx/lazy-iterator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Flazy-iterator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32772062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T21:56:08.050Z","updated_at":"2026-05-08T08:06:51.879Z","avatar_url":"https://github.com/kermanx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazy-iterator\n\nYet another package for lazy iteration in JavaScript.\n\n- Full TypeScript support\n- No dependencies\n\n## Installation\n\n```bash\nnpm install @kermanx/lazy-iterator\n```\n\n## Usage\n\n```typescript\nimport { lazyIteratorFactory } from \"@kermanx/lazy-iterator\";\n\nconst iterator = lazyIteratorFactory.from([1, 2, 3]).map((x) =\u003e x * 2);\n\nfor (const x of iterator) {\n  console.log(x);\n}\n```\n\n**You can extend the `LazyIterator` and `LazyIteratorFactory` class to create your own lazy iterators.** See [src/iterator.ts](./src/iterator.ts) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Flazy-iterator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkermanx%2Flazy-iterator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Flazy-iterator/lists"}