{"_id":"@remix-run/web-stream","_rev":"3139710","name":"@remix-run/web-stream","description":"Web API compatible streams for node/web","dist-tags":{"latest":"1.1.0","pre":"1.1.0-pre.0"},"maintainers":[{"name":"mjackson","email":""}],"time":{"modified":"2023-11-27T06:47:36.000Z","created":"2022-04-28T22:13:07.618Z","1.1.0":"2023-09-13T16:26:27.189Z","1.1.0-pre.0":"2023-09-01T16:52:59.622Z","1.0.4":"2023-08-01T22:12:09.314Z","1.0.2":"2022-04-28T22:13:07.618Z","1.0.3":"2022-05-06T01:47:22.016Z"},"users":{},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"versions":{"1.1.0":{"name":"@remix-run/web-stream","version":"1.1.0","description":"Web API compatible streams for node/web","keywords":["web-stream","whatwg-stream","stream","typescript"],"type":"module","module":"./src/lib.js","main":"./src/stream.cjs","types":"./src/lib.d.ts","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"types":"./src/lib.d.ts","browser":{"require":"./src/stream.cjs","import":"./src/lib.js"},"require":"./src/stream.cjs","import":"./src/lib.node.js"}},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"license":"MIT","dependencies":{"web-streams-polyfill":"^3.1.1"},"devDependencies":{"@types/node":"15.0.2","git-validate":"2.2.4","husky":"^6.0.0","lint-staged":"^11.0.0","playwright-test":"^7.2.0","prettier":"^2.3.0","rimraf":"3.0.2","typescript":"^4.4.4","uvu":"0.5.2"},"scripts":{"typecheck":"tsc","test:es":"uvu test all.spec.js","test:web":"playwright-test -r uvu test/web.spec.js","test:cjs":"node test/node.spec.cjs","test":"npm run test:es && npm run test:web && npm run test:cjs","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"gitHead":"e8418530bada7cbaaf224106384ce427b4341222","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"homepage":"https://github.com/remix-run/web-std-io#readme","_id":"@remix-run/web-stream@1.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"b93a8f806c2c22204930837c44d81fdedfde079f","size":1961,"noattachment":false,"key":"/@remix-run/web-stream/-/@remix-run/web-stream-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@remix-run/web-stream/download/@remix-run/web-stream-1.1.0.tgz"},"_npmUser":{"name":"mjackson","email":"mjijackson+npm@gmail.com"},"directories":{},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-stream_1.1.0_1694622386757_0.7508754404778111"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-13T16:26:27.189Z","publish_time":1694622387189,"_source_registry_name":"default","_cnpm_publish_time":1694622387189},"1.1.0-pre.0":{"name":"@remix-run/web-stream","version":"1.1.0-pre.0","description":"Web API compatible streams for node/web","keywords":["web-stream","whatwg-stream","stream","typescript"],"type":"module","module":"./src/lib.js","main":"./src/stream.cjs","types":"./src/lib.d.ts","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"types":"./src/lib.d.ts","browser":{"require":"./src/stream.cjs","import":"./src/lib.js"},"require":"./src/stream.cjs","import":"./src/lib.node.js"}},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"license":"MIT","dependencies":{"web-streams-polyfill":"^3.1.1"},"devDependencies":{"@types/node":"15.0.2","git-validate":"2.2.4","husky":"^6.0.0","lint-staged":"^11.0.0","playwright-test":"^7.2.0","prettier":"^2.3.0","rimraf":"3.0.2","typescript":"^4.4.4","uvu":"0.5.2"},"scripts":{"typecheck":"tsc","test:es":"uvu test all.spec.js","test:web":"playwright-test -r uvu test/web.spec.js","test:cjs":"node test/node.spec.cjs","test":"npm run test:es && npm run test:web && npm run test:cjs","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"readmeFilename":"Readme.md","gitHead":"e5fa79431539db79f0963cd317639a866619524e","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"homepage":"https://github.com/remix-run/web-std-io#readme","_id":"@remix-run/web-stream@1.1.0-pre.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"970b7a16643e952e8665e6ca26e79724b5c703d9","size":1965,"noattachment":false,"key":"/@remix-run/web-stream/-/@remix-run/web-stream-1.1.0-pre.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@remix-run/web-stream/download/@remix-run/web-stream-1.1.0-pre.0.tgz"},"_npmUser":{"name":"mjackson","email":"mjijackson+npm@gmail.com"},"directories":{},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-stream_1.1.0-pre.0_1693587179433_0.6544580585092128"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-01T16:52:59.622Z","publish_time":1693587179622,"_source_registry_name":"default","_cnpm_publish_time":1693587179622},"1.0.4":{"name":"@remix-run/web-stream","version":"1.0.4","description":"Web API compatible streams for node/web","keywords":["web-stream","whatwg-stream","stream","typescript"],"type":"module","module":"./src/lib.js","main":"./src/stream.cjs","types":"./src/lib.d.ts","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"types":"./src/lib.d.ts","browser":"./src/lib.js","require":"./src/stream.cjs","import":"./src/lib.node.js"}},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"license":"MIT","dependencies":{"web-streams-polyfill":"^3.1.1"},"devDependencies":{"@types/node":"15.0.2","git-validate":"2.2.4","husky":"^6.0.0","lint-staged":"^11.0.0","playwright-test":"^7.2.0","prettier":"^2.3.0","rimraf":"3.0.2","typescript":"^4.4.4","uvu":"0.5.2"},"scripts":{"typecheck":"tsc --build","test:es":"uvu test all.spec.js","test:web":"playwright-test -r uvu test/web.spec.js","test:cjs":"node test/node.spec.cjs","test":"npm run test:es && npm run test:web && npm run test:cjs","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"gitHead":"4fc5047f3a54a07ffea81347ff5063b5874d3cf0","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"homepage":"https://github.com/remix-run/web-std-io#readme","_id":"@remix-run/web-stream@1.0.4","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"shasum":"de6194c22c0520603cde129a184e70429b4de57b","size":1955,"noattachment":false,"key":"/@remix-run/web-stream/-/@remix-run/web-stream-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@remix-run/web-stream/download/@remix-run/web-stream-1.0.4.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-stream_1.0.4_1690927929101_0.47030296716231934"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-01T22:12:09.314Z","publish_time":1690927929314,"_source_registry_name":"default","_cnpm_publish_time":1690927929314},"1.0.2":{"name":"@remix-run/web-stream","version":"1.0.2","description":"Web API compatible streams for node/web","keywords":["web-stream","whatwg-stream","stream","typescript"],"type":"module","module":"./src/lib.js","main":"./src/stream.cjs","types":"./src/lib.d.ts","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"browser":"./src/lib.js","require":"./src/stream.cjs","import":"./src/lib.node.js","types":"./src/lib.d.ts"}},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"license":"MIT","dependencies":{"web-streams-polyfill":"^3.1.1"},"devDependencies":{"@types/node":"15.0.2","git-validate":"2.2.4","husky":"^6.0.0","lint-staged":"^11.0.0","playwright-test":"^7.2.0","prettier":"^2.3.0","rimraf":"3.0.2","typescript":"^4.4.4","uvu":"^0.5.2"},"scripts":{"typecheck":"tsc --build","test:es":"uvu test all.spec.js","test:web":"playwright-test -r uvu test/web.spec.js","test:cjs":"node test/node.spec.cjs","test":"npm run test:es && npm run test:web && npm run test:cjs","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"gitHead":"acfbdba347005e9adf2c72886d4720e659dc20dc","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"homepage":"https://github.com/remix-run/web-std-io#readme","_id":"@remix-run/web-stream@1.0.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"f07dc9cf6db02507ea71a234bc8e06103a2207b4","size":1982,"noattachment":false,"key":"/@remix-run/web-stream/-/@remix-run/web-stream-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@remix-run/web-stream/download/@remix-run/web-stream-1.0.2.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-stream_1.0.2_1651183987441_0.3266885543784701"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-28T22:13:46.049Z","publish_time":1651183987618,"_cnpm_publish_time":1651183987618},"1.0.3":{"name":"@remix-run/web-stream","version":"1.0.3","description":"Web API compatible streams for node/web","keywords":["web-stream","whatwg-stream","stream","typescript"],"type":"module","module":"./src/lib.js","main":"./src/stream.cjs","types":"./src/lib.d.ts","browser":{"./src/lib.node.js":"./src/lib.js"},"exports":{".":{"browser":"./src/lib.js","require":"./src/stream.cjs","import":"./src/lib.node.js","types":"./src/lib.d.ts"}},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/remix-run/web-std-io.git"},"license":"MIT","dependencies":{"web-streams-polyfill":"^3.1.1"},"devDependencies":{"@types/node":"15.0.2","git-validate":"2.2.4","husky":"^6.0.0","lint-staged":"^11.0.0","playwright-test":"^7.2.0","prettier":"^2.3.0","rimraf":"3.0.2","typescript":"^4.4.4","uvu":"^0.5.2"},"scripts":{"typecheck":"tsc --build","test:es":"uvu test all.spec.js","test:web":"playwright-test -r uvu test/web.spec.js","test:cjs":"node test/node.spec.cjs","test":"npm run test:es && npm run test:web && npm run test:cjs","precommit":"lint-staged"},"lint-staged":{"*.js":["prettier --no-semi --write","git add"]},"gitHead":"799a7903ae97ec59c5b41f3cc7ad3b1bf6d2d016","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"homepage":"https://github.com/remix-run/web-std-io#readme","_id":"@remix-run/web-stream@1.0.3","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"3284a6a45675d1455c4d9c8f31b89225c9006438","size":1956,"noattachment":false,"key":"/@remix-run/web-stream/-/@remix-run/web-stream-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@remix-run/web-stream/download/@remix-run/web-stream-1.0.3.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"mjackson","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-stream_1.0.3_1651801641829_0.637715544515651"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-06T01:51:01.654Z","publish_time":1651801642016,"_cnpm_publish_time":1651801642016}},"readme":"# @remix-run/web-stream\n\n[![ci][ci.icon]][ci.url]\n[![package][version.icon] ![downloads][downloads.icon]][package.url]\n[![styled with prettier][prettier.icon]][prettier.url]\n\nWeb streams APIs across web & node. In browsers this library just exports stream constructors, in node it exports [native web stream implementations][node webstreams] when available and [web-streams-polyfill][]\n\n> ⚠️ Please note that library makes no attempt to polyfill `WritableStream` or `TransforStream` in web browsers that do not have them.\n\n### Usage\n\n```js\nimport {\n  ReadableStream,\n  WritableStream,\n  TransformStream,\n} from \"@remix-run/web-stream\"\n```\n\n### Usage from Typescript\n\nThis library makes use of [typescript using JSDOC annotations][ts-jsdoc] and\nalso generates type definitions along with typed definition maps. So you should\nbe able to get all the type inference out of the box.\n\n## Install\n\n    npm install @remix-run/web-stream\n\n[ci.icon]: https://github.com/web-std/io/workflows/stream/badge.svg\n[ci.url]: https://github.com/web-std/io/actions/workflows/stream.yml\n[version.icon]: https://img.shields.io/npm/v/@remix-run/web-stream.svg\n[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-stream.svg\n[package.url]: https://npmjs.org/package/@remix-run/web-stream\n[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-stream.svg\n[downloads.url]: https://npmjs.org/package/@remix-run/web-stream\n[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\n[prettier.url]: https://github.com/prettier/prettier\n[ts-jsdoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html\n[node-webstreams]: https://nodejs.org/dist/latest-v16.x/docs/api/webstreams.html\n[web-streams-polyfill]: https://www.npmjs.com/package/web-streams-polyfill\n","_attachments":{},"homepage":"https://github.com/remix-run/web-std-io#readme","bugs":{"url":"https://github.com/remix-run/web-std-io/issues"},"license":"MIT"}