{"_id":"@web-std/stream","_rev":"3143940","name":"@web-std/stream","description":"Web API compatible streams for node/web","dist-tags":{"latest":"1.0.3"},"maintainers":[{"name":"gozala","email":"dev@gozala.io"}],"time":{"modified":"2023-11-27T06:57:17.000Z","created":"2021-11-05T19:14:50.669Z","1.0.3":"2023-08-28T23:26:45.778Z","1.0.0":"2021-11-05T19:14:50.669Z","1.0.1":"2022-01-19T21:34:29.693Z"},"users":{},"author":{"name":"Irakli Gozalishvili","email":"dev@gozala.io","url":"https://gozala.io"},"repository":{"type":"git","url":"git+https://github.com/web-std/io.git"},"versions":{"1.0.3":{"name":"@web-std/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":{".":{"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/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":"45506ddf9637a750710a5757783d3631dbada676","bugs":{"url":"https://github.com/web-std/io/issues"},"homepage":"https://github.com/web-std/io#readme","_id":"@web-std/stream@1.0.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"a1df4d4612990d3607f77ad17d0338c7960bbe2e","size":1969,"noattachment":false,"key":"/@web-std/stream/-/@web-std/stream-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@web-std/stream/download/@web-std/stream-1.0.3.tgz"},"_npmUser":{"name":"gozala","email":"dev@gozala.io"},"directories":{},"maintainers":[{"name":"gozala","email":"dev@gozala.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream_1.0.3_1693265205609_0.9206846523678198"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-28T23:26:45.778Z","publish_time":1693265205778,"_source_registry_name":"default","_cnpm_publish_time":1693265205778},"1.0.0":{"name":"@web-std/stream","version":"1.0.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":{".":{"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/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":"bb5a444858e2487dc4b67b568e950f4fe628ebca","bugs":{"url":"https://github.com/web-std/io/issues"},"homepage":"https://github.com/web-std/io#readme","_id":"@web-std/stream@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"01066f40f536e4329d9b696dc29872f3a14b93c1","size":2579,"noattachment":false,"key":"/@web-std/stream/-/@web-std/stream-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@web-std/stream/download/@web-std/stream-1.0.0.tgz"},"_npmUser":{"name":"gozala","email":"dev@gozala.io"},"directories":{},"maintainers":[{"name":"gozala","email":"dev@gozala.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream_1.0.0_1636139690486_0.008389140633625392"},"_hasShrinkwrap":false,"publish_time":1636139690669,"_cnpm_publish_time":1636139690669,"_cnpmcore_publish_time":"2021-12-16T17:35:46.794Z"},"1.0.1":{"name":"@web-std/stream","version":"1.0.1","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/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":"862993b7bc5a0e1fe4e8e1facb2b9a455e11c671","bugs":{"url":"https://github.com/web-std/io/issues"},"homepage":"https://github.com/web-std/io#readme","_id":"@web-std/stream@1.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"af2972654848e20a683781b0a50bef2ce3f011a0","size":1728,"noattachment":false,"key":"/@web-std/stream/-/@web-std/stream-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@web-std/stream/download/@web-std/stream-1.0.1.tgz"},"_npmUser":{"name":"gozala","email":"dev@gozala.io"},"directories":{},"maintainers":[{"name":"gozala","email":"dev@gozala.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream_1.0.1_1642628069554_0.059834223405796694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-19T21:34:39.005Z","publish_time":1642628069693,"_cnpm_publish_time":1642628069693}},"readme":"# @web-std/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 \"@web-std/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 @web-std/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/@web-std/stream.svg\n[downloads.icon]: https://img.shields.io/npm/dm/@web-std/stream.svg\n[package.url]: https://npmjs.org/package/@web-std/stream\n[downloads.image]: https://img.shields.io/npm/dm/@web-std/stream.svg\n[downloads.url]: https://npmjs.org/package/@web-std/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/web-std/io#readme","bugs":{"url":"https://github.com/web-std/io/issues"},"license":"MIT"}