{"id":15749933,"url":"https://github.com/kettanaito/readable-stream-polyfill","last_synced_at":"2026-05-15T20:01:55.125Z","repository":{"id":95734976,"uuid":"503434420","full_name":"kettanaito/readable-stream-polyfill","owner":"kettanaito","description":"\"ReadableStream\" polyfill based on the eponymous implementation from Node.js.","archived":false,"fork":false,"pushed_at":"2022-06-14T23:32:23.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T00:23:37.011Z","etag":null,"topics":["controller","nodejs","polyfill","readable","readablestream","stream"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/readable-stream-polyfill","language":"TypeScript","has_issues":false,"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/kettanaito.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}},"created_at":"2022-06-14T16:18:24.000Z","updated_at":"2024-09-07T12:58:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6a009f5-ae2c-4472-b95d-8de097cd9f7b","html_url":"https://github.com/kettanaito/readable-stream-polyfill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kettanaito/readable-stream-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettanaito%2Freadable-stream-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettanaito%2Freadable-stream-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettanaito%2Freadable-stream-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettanaito%2Freadable-stream-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kettanaito","download_url":"https://codeload.github.com/kettanaito/readable-stream-polyfill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettanaito%2Freadable-stream-polyfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33077924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["controller","nodejs","polyfill","readable","readablestream","stream"],"created_at":"2024-10-04T06:21:14.102Z","updated_at":"2026-05-15T20:01:55.107Z","avatar_url":"https://github.com/kettanaito.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `ReadableStream`\n\nA [WHATWG-compliant](https://streams.spec.whatwg.org/#readablestream) polyfill for `ReadableStream` based on the eponymous implementation in Node.js.\n\n## Install\n\n```sh\nnpm install readable-stream-polyfill\n```\n\n## Node.js API\n\n```js\nconst { ReadableStream } = require('readable-stream-polyfill')\n\nconst stream = new ReadableStream({\n  start(controller) {\n    controller.enqueue('hello')\n    controller.enqueue('world')\n    controller.end()\n  },\n})\n\nconst reader = await stream.getReader()\n```\n\n## Polyfill\n\n```js\n// Polyfills the global \"ReadableStream\" class\n// if it's not already implemented.\nrequire('readable-stream-polyfill/globals')\n```\n\n## Usage\n\n- [`ReadableStream` on MDN](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettanaito%2Freadable-stream-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkettanaito%2Freadable-stream-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettanaito%2Freadable-stream-polyfill/lists"}