{"_id":"readable-stream-node-to-web","_rev":"3-bfa7c4d6c637d14430a753a25321e15f","name":"readable-stream-node-to-web","description":"Converts a node Readable stream to a web ReadableStream","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"readable-stream-node-to-web","version":"1.0.0","description":"Converts a node Readable stream to a web ReadableStream","main":"index.js","scripts":{"test":"standard && karma start"},"repository":{"type":"git","url":"git+https://github.com/xuset/readable-stream-node-to-web.git"},"keywords":["readable","stream","readablestream","node","web","whatwg"],"author":{"name":"xuset"},"license":"MIT","bugs":{"url":"https://github.com/xuset/readable-stream-node-to-web/issues"},"homepage":"https://github.com/xuset/readable-stream-node-to-web#readme","devDependencies":{"browserify":"^14.4.0","karma":"^1.7.0","karma-browserify":"^5.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-sauce-launcher":"^1.1.0","karma-tap":"^3.1.1","standard":"^10.0.2","tape":"^4.7.0","watchify":"^3.9.0"},"gitHead":"5e4d4167a8c06cdba4eed8cd4ce9f6dba0f1e0c9","_id":"readable-stream-node-to-web@1.0.0","_shasum":"60be4fd9a6175747627116842ad82fbee4b07a9e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"xuset","email":"austinmid@utexas.edu"},"dist":{"shasum":"60be4fd9a6175747627116842ad82fbee4b07a9e","tarball":"https://registry.npmjs.org/readable-stream-node-to-web/-/readable-stream-node-to-web-1.0.0.tgz","integrity":"sha512-ru+Nkute9Y585tQw7oRyMVccpOW44vGI7VJHoztTSiuQIrZBXQy161tzZy2mE/jZi6bDbydlnk8UdVI/nokiJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxTIfC/7phNgBBG6wfCM+F+B7oK+oCwh68pCKOrarYOAiAG/+RcmRdr8fA+SKArIsgO1d743VIIhrw33a/7hxJm8A=="}]},"maintainers":[{"name":"xuset","email":"austinmid@utexas.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/readable-stream-node-to-web-1.0.0.tgz_1501646682083_0.06453713052906096"}},"1.0.1":{"name":"readable-stream-node-to-web","version":"1.0.1","description":"Converts a node Readable stream to a web ReadableStream","main":"index.js","scripts":{"test":"standard && karma start"},"repository":{"type":"git","url":"git+https://github.com/xuset/readable-stream-node-to-web.git"},"keywords":["readable","stream","readablestream","node","web","whatwg"],"author":{"name":"xuset"},"license":"MIT","bugs":{"url":"https://github.com/xuset/readable-stream-node-to-web/issues"},"homepage":"https://github.com/xuset/readable-stream-node-to-web#readme","devDependencies":{"browserify":"^14.4.0","karma":"^1.7.0","karma-browserify":"^5.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-sauce-launcher":"^1.1.0","karma-tap":"^3.1.1","standard":"^10.0.2","tape":"^4.7.0","watchify":"^3.9.0"},"gitHead":"54e13397d7df0f0f1e9b4476f7777481ea80ac08","_id":"readable-stream-node-to-web@1.0.1","_shasum":"8b7614faa1465ebfa0da9b9ca6303fa27073b7cf","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"xuset","email":"austinmid@utexas.edu"},"dist":{"shasum":"8b7614faa1465ebfa0da9b9ca6303fa27073b7cf","tarball":"https://registry.npmjs.org/readable-stream-node-to-web/-/readable-stream-node-to-web-1.0.1.tgz","integrity":"sha512-OGzi2VKLa8H259kAx7BIwuRrXHGcxeHj4RdASSgEGBP9Q2wowdPvBc65upF4Q9O05qWgKqBw1+9PiLTtObl7uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf0U6ZNK/klGN1UyF+086eKpcZCwRr/WM4S7CKm2ZBGAiEA2CWWDUrYSl3NpdsZSB/Gxs1UjgE9oJe6GJt9SiaAlFI="}]},"maintainers":[{"name":"xuset","email":"austinmid@utexas.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/readable-stream-node-to-web-1.0.1.tgz_1501728876158_0.9418642136733979"}}},"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","maintainers":[{"name":"xuset","email":"austinmid@utexas.edu"}],"time":{"modified":"2022-06-26T09:15:56.492Z","created":"2017-08-02T04:04:43.042Z","1.0.0":"2017-08-02T04:04:43.042Z","1.0.1":"2017-08-03T02:54:37.061Z"},"homepage":"https://github.com/xuset/readable-stream-node-to-web#readme","keywords":["readable","stream","readablestream","node","web","whatwg"],"repository":{"type":"git","url":"git+https://github.com/xuset/readable-stream-node-to-web.git"},"author":{"name":"xuset"},"bugs":{"url":"https://github.com/xuset/readable-stream-node-to-web/issues"},"license":"MIT","readmeFilename":"README.md"}