{"id":28210747,"url":"https://github.com/xuset/readable-stream-node-to-web","last_synced_at":"2025-06-11T00:32:27.956Z","repository":{"id":57348627,"uuid":"99069686","full_name":"xuset/readable-stream-node-to-web","owner":"xuset","description":"Convert a nodejs Readable stream to a web ReadableStream","archived":false,"fork":false,"pushed_at":"2023-02-18T19:50:47.000Z","size":6,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-27T04:16:42.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xuset.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":"2017-08-02T03:47:54.000Z","updated_at":"2023-11-08T02:48:47.000Z","dependencies_parsed_at":"2024-06-18T17:00:56.905Z","dependency_job_id":"57172884-1c22-49a6-8119-70f63a421f42","html_url":"https://github.com/xuset/readable-stream-node-to-web","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"54e13397d7df0f0f1e9b4476f7777481ea80ac08"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuset%2Freadable-stream-node-to-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuset%2Freadable-stream-node-to-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuset%2Freadable-stream-node-to-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuset%2Freadable-stream-node-to-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuset","download_url":"https://codeload.github.com/xuset/readable-stream-node-to-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuset%2Freadable-stream-node-to-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259175518,"owners_count":22817008,"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":[],"created_at":"2025-05-17T17:10:31.952Z","updated_at":"2025-06-11T00:32:27.948Z","avatar_url":"https://github.com/xuset.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# readable-stream-node-to-web [![Build Status](https://travis-ci.org/xuset/readable-stream-node-to-web.svg?branch=master)](https://travis-ci.org/xuset/readable-stream-node-to-web) [![npm](https://img.shields.io/npm/v/readable-stream-node-to-web.svg)](https://npmjs.org/package/readable-stream-node-to-web)\n\n#### Convert a nodejs Readable stream to a web ReadableStream\n\n[![Sauce Test Status](https://saucelabs.com/browser-matrix/xuset-readable-stream-node-to-web.svg)](https://saucelabs.com/u/xuset-readable-stream-node-to-web)\n\n\n```js\nvar nodeToWebStream = require('readable-stream-node-to-web');\n\nvar nodeStream = // Obtain a nodejs Readable stream\nvar webStream = nodeToWebStream(nodeStream);\n```\n\n`nodeStream` is a [NodeJS Readable stream](https://nodejs.org/api/stream.html#stream_readable_streams)\n\n`webStream` is a [WhatWG web ReadableStream](https://streams.spec.whatwg.org/#rs-class)\n\nThis method takes a readable node stream and returns a web stream to reads from given the node stream. This allows the plethora of nodejs modules involving Readable streams to be used in a web context like using a node stream with [FetchEvent.respondWith()](https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/respondWith)\n\nThis module can be used with bundlers like browserify or webpack. This module is also written in es5 so there is no need for transpilation.\n\n## License\n\nMIT. Copyright (c) Austin Middleton.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuset%2Freadable-stream-node-to-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuset%2Freadable-stream-node-to-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuset%2Freadable-stream-node-to-web/lists"}