{"_id":"node-web-streams","_rev":"8-dd70e39763732b084cd22bfafa2af254","name":"node-web-streams","description":"WhatWG web streams and conversion utilities for node.js","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"node-web-streams","version":"0.1.0","description":"WhatWG web streams and conversion utilities for node.js","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"dependencies":{"is-stream":"^1.1.0","web-streams-polyfill":"git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"},"gitHead":"6f2ba5a0fa4c0722e9c355006eeb5c0c93e647f5","_id":"node-web-streams@0.1.0","_shasum":"bef62d8d38912981d80f5d896bf149e7dbf58987","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gwicke","email":"gabriel@gwicke.net"},"maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"dist":{"shasum":"bef62d8d38912981d80f5d896bf149e7dbf58987","tarball":"https://registry.npmjs.org/node-web-streams/-/node-web-streams-0.1.0.tgz","integrity":"sha512-Wx4EwKffSN92jTTBDmsYhNDJn1ImXFHkkXWIZEXS6lG2eGEbcrR15OsucHbIjmG23HN9hKRuJhXBMnwjijDacg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb+t9zH8uQTxLoQRjZm9c//oiGNiyuAoPVlAdu06sYgwIgC/19k2U6DCmfL0WZyeZ+3RRt/AswiCuLYMxMcFFrZ8c="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-web-streams-0.1.0.tgz_1469839144099_0.6336644003167748"},"directories":{}},"0.1.1":{"name":"node-web-streams","version":"0.1.1","description":"WhatWG web streams and conversion utilities for node.js","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"dependencies":{"is-stream":"^1.1.0","web-streams-polyfill":"git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"},"gitHead":"87ff0035304e9fbadea253c25cd7c514e950c942","_id":"node-web-streams@0.1.1","_shasum":"ad5254f598c1cad2c7b884b0d3fcad6a4f6122c4","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gwicke","email":"gabriel@gwicke.net"},"maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"dist":{"shasum":"ad5254f598c1cad2c7b884b0d3fcad6a4f6122c4","tarball":"https://registry.npmjs.org/node-web-streams/-/node-web-streams-0.1.1.tgz","integrity":"sha512-UPm0hulLetqG51op8GqEGbr8vmGNE+Yr7TeGVGzjKTSwAnpBpbbhkhk5aRnzssARC9vvj8Hyb5spxRyqeq9UJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTcP4Ob6GRDjGhJ4XJGaVM9m2OdMVDcX97B8ICvcGE4AIhANIgPJN4I5XYGCazek6hwFDBc7yLFFfaRT2Hz05Gc+BF"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-web-streams-0.1.1.tgz_1469839998336_0.6340535054914653"},"directories":{}},"0.2.0":{"name":"node-web-streams","version":"0.2.0","description":"WhatWG web streams and conversion utilities for node.js","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"dependencies":{"is-stream":"^1.1.0","web-streams-polyfill":"git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"},"gitHead":"b8b7ab482e71145a03da7e03ac85888395da21f2","_id":"node-web-streams@0.2.0","_shasum":"d48dd956759d9333c3735c8e657fad82731fba7e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gwicke","email":"gabriel@gwicke.net"},"maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"dist":{"shasum":"d48dd956759d9333c3735c8e657fad82731fba7e","tarball":"https://registry.npmjs.org/node-web-streams/-/node-web-streams-0.2.0.tgz","integrity":"sha512-jpoyQObmDoA2vDbixivB9oP/FUheNJgoFC8xT49VXOv/LVsnO4e/5zEGzmGb9afOz6oIihW53iOF9/fE86/kQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBtobWXue6Wqp/SbABq00ETg1pstm0Nrdz44AF4DUAMAiAUh3QMdiL4xOZEqhJmPUdpsPixeyf6DLe2KfKbwaYLvw=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/node-web-streams-0.2.0.tgz_1469841520304_0.7105473924893886"},"directories":{}},"0.2.1":{"name":"node-web-streams","version":"0.2.1","description":"WhatWG web streams and conversion utilities for node.js","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"dependencies":{"is-stream":"^1.1.0","web-streams-polyfill":"git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"},"gitHead":"e444ffd68cc05f68c48147e2c07fbcbd080f304d","_id":"node-web-streams@0.2.1","_shasum":"8aed3d899ed3d69b3d68319a8cdee32552a731e8","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gwicke","email":"gabriel@gwicke.net"},"maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"dist":{"shasum":"8aed3d899ed3d69b3d68319a8cdee32552a731e8","tarball":"https://registry.npmjs.org/node-web-streams/-/node-web-streams-0.2.1.tgz","integrity":"sha512-i39Xs8OViGaXMlPMZKocdm/0JX7Jx/pWlWiltqr36flLUJsE8mmZD2XhkvueYomDH0QxpHydHrk8EU84IUJpKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO93xGQfPrBVVJezzyVlHATU3875bkwB7oSWRoBhejqwIhALXqqvxCm06pYV6eNfkCAZzjZxwf/gM0nbiemI+qBAmW"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-web-streams-0.2.1.tgz_1469841639895_0.5166286549065262"},"directories":{}},"0.2.2":{"name":"node-web-streams","version":"0.2.2","description":"WhatWG web streams and conversion utilities for node.js","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"dependencies":{"is-stream":"^1.1.0","web-streams-polyfill":"git://github.com/gwicke/web-streams-polyfill#spec_performance_improvements"},"gitHead":"5af50c2e91502d577178d7bd85f9e8b7408ea6e7","_id":"node-web-streams@0.2.2","_shasum":"087e76bbeb7e8dc56686b25db4e60c5ff9db091f","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gwicke","email":"gabriel@gwicke.net"},"maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"dist":{"shasum":"087e76bbeb7e8dc56686b25db4e60c5ff9db091f","tarball":"https://registry.npmjs.org/node-web-streams/-/node-web-streams-0.2.2.tgz","integrity":"sha512-TKWGEUb0AgDA+8+YFDYms2fgsTK87etvMpjJW9qdieXQwcn8IgIFHL2Xohorw7c19TP3dC+Ttur+oO7/c9h6vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJmWoiOsMCu/ExfSE6nXjAyxN0bFmDic+Aqj28ToIq7AiBhC8jU0P9xQh5gXYa3apYArXmin5SUQ/WMJqyhIlHaxQ=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-web-streams-0.2.2.tgz_1474939235116_0.960318444063887"},"directories":{}}},"readme":"# node-web-streams\nWhatWG web streams and conversion utilities for node.js\n\nThis provides the [WhatWG streams](https://streams.spec.whatwg.org) API for\nnode. It leverages the [WhatWG reference\nimplementation](https://github.com/whatwg/streams), but also addresses\nperformance issues in that implementation.\n\n## Installation\n```\nnpm install node-web-streams\n```\n\n## Usage\n```javascript\n// ES5 require syntax\nvar webStreams = require('node-web-streams');\nvar ReadableStream = webStreams.ReadableStream;\nvar toWebReadableStream = webStreams.toWebReadableStream;\nvar toNodeReadable = webStreams.toNodeReadable;\n\n// ES6 import syntax\nimport { ReadableStream, toWebReadableStream, toNodeReadable } from \"node-web-streams\";\n\n// Convert a node Readable to a web ReadableStream & back\nconst nodeReadable = require('fs').createReadStream('/tmp/test.txt');\nconst webReadable = toWebReadableStream(nodeReadable);\nconst roundTrippedNodeReadable = toNodeReadable(webReadable);\n```\n","maintainers":[{"name":"gwicke","email":"gabriel@gwicke.net"}],"time":{"modified":"2022-06-21T23:20:08.057Z","created":"2016-07-30T00:39:04.341Z","0.1.0":"2016-07-30T00:39:04.341Z","0.1.1":"2016-07-30T00:53:18.559Z","0.2.0":"2016-07-30T01:18:44.828Z","0.2.1":"2016-07-30T01:20:40.133Z","0.2.2":"2016-09-27T01:20:35.353Z"},"keywords":["streamspec","whatwg","streams","node","convert","readablestream"],"repository":{"type":"git","url":"https://github.com/gwicke/node-web-streams.git"},"author":{"name":"Gabriel Wicke","email":"gwicke@wikimedia.org"},"bugs":{"url":"https://github.com/gwicke/node-web-streams/issues"},"license":"Apache-2.0","readmeFilename":"README.md","users":{"alxarch":true}}