{"id":23789985,"url":"https://github.com/blackglory/extra-stream","last_synced_at":"2026-04-09T21:06:06.320Z","repository":{"id":44955726,"uuid":"344828645","full_name":"BlackGlory/extra-stream","owner":"BlackGlory","description":"🌿 Utilities for Stream","archived":false,"fork":false,"pushed_at":"2023-06-11T03:06:00.000Z","size":403,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T09:54:58.633Z","etag":null,"topics":["browser","esm","library","nodejs","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-stream","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackGlory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-03-05T14:02:29.000Z","updated_at":"2023-04-27T08:40:45.000Z","dependencies_parsed_at":"2025-02-21T12:43:17.468Z","dependency_job_id":"6a294fe6-8c3c-448d-9815-83d40889a2a7","html_url":"https://github.com/BlackGlory/extra-stream","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/BlackGlory/extra-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackGlory%2Fextra-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackGlory%2Fextra-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackGlory%2Fextra-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackGlory%2Fextra-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackGlory","download_url":"https://codeload.github.com/BlackGlory/extra-stream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackGlory%2Fextra-stream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264614137,"owners_count":23637521,"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":["browser","esm","library","nodejs","npm-package","typescript"],"created_at":"2025-01-01T17:17:55.292Z","updated_at":"2026-04-09T21:06:06.314Z","avatar_url":"https://github.com/BlackGlory.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# extra-stream\nUtilities for Stream.\n\n## Install\n```sh\nnpm install --save extra-stream\n# or\nyarn add extra-stream\n```\n\n## API\n### ReadableStream, WritableStream, TransformStream, TextDecoderStream, TextEncoderStream\nThe WHATWG `ReadableStream`, `WritableStream`, `TransformStream`, `TextDecoderStream`, `TextEncoderStream`.\n\n### toReadableStream\n```ts\nfunction toReadableStream\u003cT\u003e(\n  iterable: Iterable\u003cT\u003e | AsyncIterable\u003cT\u003e\n): ReadableStream\u003cT\u003e\n```\n\n### toAsyncIterableIterator\n```ts\nfunction toAsyncIterableIterator\u003cT\u003e(stream: ReadableStream\u003cT\u003e): AsyncIterableIterator\u003cT\u003e\n```\n\n`ReadableStream` should be an async iterable object,\nbut many runtimes don't support this yet.\n\n### isNodeJSReadableStream\n```ts\nfunction isNodeJSReadableStream(val: unknown): val is NodeJS.ReadableStream\n```\n\n### isNodeJSWritableStream\n```ts\nfunction isNodeJSWritableStream(val: unknown): val is NodeJS.WritableStream\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackglory%2Fextra-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackglory%2Fextra-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackglory%2Fextra-stream/lists"}