{"_id":"node-readable-to-web-readable-stream","_rev":"12-ae350baf5c9a937aea6c302e68fba1ae","name":"node-readable-to-web-readable-stream","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"node-readable-to-web-readable-stream","version":"0.1.0","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.1.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"1a259cfb51b0547377f77f95ddad1807e7046c2d","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.1.0.tgz","fileCount":5,"integrity":"sha512-LVuPhgSXZYmpR27f+OWp9R0XzW0kZLZy3iTovPOTx6tiLmWUXq47YibVKpaAg+40yRAevwB9rzwW20UtDIobUg==","signatures":[{"sig":"MEYCIQCIonQ1PKk7LCn/KhQyUgCyyZXx1UdYdcIHJ8Kn7DJpPAIhAJBugoK5cdz2Dw3Tk3/hVdM2m78ruj6PtzEiUnDzcImH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5894},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"6922d89042f9a0a3cc9d6a9cba0844e2431d9911","scripts":{"test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.10.7","@types/mocha":"^10.0.10"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.1.0_1738437613891_0.3474198297693687","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"node-readable-to-web-readable-stream","version":"0.1.1","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.1.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"eef6a50226a0292490179ab59a70de4b9fe0a5aa","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.1.1.tgz","fileCount":5,"integrity":"sha512-L69CsGBuGIVsaf8jJICd7VCBsBhPIcI/1F720ml048+ROqM8SUwQa8v7+22ANxc98AMoI+Y+OZAepYv+zPylOQ==","signatures":[{"sig":"MEYCIQDoOE3tADxr7WmfxVC6j37J7HECpCe/hIm8FBYwRI2TKQIhAKMSfm0REUqGEbcBUnG8UhdGi3LW45HmYsnS+Lu8+Pmu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6513},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"d7380213477817cb3bc35adf5910f31c39155d0b","scripts":{"test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.10.7","@types/mocha":"^10.0.10"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.1.1_1738507936094_0.8601193433640206","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"node-readable-to-web-readable-stream","version":"0.1.3","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.1.3","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"3371500d8e9af5e89574be9e220f113205a2ba71","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.1.3.tgz","fileCount":5,"integrity":"sha512-80msAZZZXiEbv0O+Lsoswj7oToy6zKpAODL9VFoDSBX3ZdqJiZyWlMIZqmERYnOH67/yHSNcENUlVn+kn0KNNQ==","signatures":[{"sig":"MEUCIQDBl6CdDmnUL5bo9F/UoQN69yYqXBSRb4yc3fcQCwqYMAIgbvj1tMkA8mPkZwuT29j53yT71N/90speR56SZ4Hti2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6388},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"1fb5c4d53b0fbdfae98917ccca4dfedcfa64ae42","scripts":{"test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.10.7","@types/mocha":"^10.0.10"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.1.3_1738517962942_0.2163184906849731","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"node-readable-to-web-readable-stream","version":"0.1.4","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.1.4","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"69219fd93f52ffc06e05f39fd99985002a197976","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.1.4.tgz","fileCount":5,"integrity":"sha512-S6Nyxd6zwI9qC4dPYLdZc/6sid4+4zAHXGDPE3EBYMTWuPa7e5MDCy0QBmo/DfzKE2WFSGRuDYRmcC1KhHVZ2w==","signatures":[{"sig":"MEUCIEHRqJi0Dxci+GzAqHXCPrTISNXZ8J3u50Twq1g4tiRiAiEAjgnVOz/mIBjeVUwXlBNca2myaTnWEF5yc9S8cHySnfA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6723},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"badbed1f66c41a9123448660251a543a6c9930be","scripts":{"test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.10.7","@types/mocha":"^10.0.10"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.1.4_1738521883207_0.4864792606460242","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"node-readable-to-web-readable-stream","version":"0.2.0","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.2.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"98be0ac7e53781d98635663063192f2525ae1372","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.2.0.tgz","fileCount":5,"integrity":"sha512-4aLdeQU1xTIiQlvCU97ZwRaompjReK7IfFe1Iz5WzNUCWzeyD6+En0exrOG/3uIVle+eO50vq5BhsCecpoC9kQ==","signatures":[{"sig":"MEUCIQDuiDjtxgrOxZBQiOjja7Lyqy2HcwQRQjRQndZU9vGBOwIgerKi54XBUVb+fPSodoWihiYQ/xMvqkTF+7+1Syy3HuI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8463},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"484dd012152ab3d53714e9654504c4d7ad840c86","scripts":{"lint":"biome check","test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"23.7.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.13.1","@types/mocha":"^10.0.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.2.0_1739216251402_0.1368768403344487","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"node-readable-to-web-readable-stream","version":"0.3.0","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.3.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"004e59dca5a83fb9f888f41ed838487fea6c40f1","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.3.0.tgz","fileCount":5,"integrity":"sha512-5dVUyIlQAkBrfnMqOoRzU28Ho+gfOjylgvyjK90gytz2ZWVdCBNqVPMDPG755CLPJH7lF1gGBm5kT4ckvfb8IQ==","signatures":[{"sig":"MEQCIDKdeRyg5w9eO/uY2fXvQucXaUmHRgVWk7OPQIGlCFVkAiBY4Mx8smq1NAeN0wT5xdCbP9kM/RhathShINSHo+HrCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8741},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"2378ac0f6288449665ae0a09f7d835e38a9f3f4e","scripts":{"lint":"biome check","test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"23.7.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.13.1","@types/mocha":"^10.0.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.3.0_1739385293350_0.3079600756374692","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"node-readable-to-web-readable-stream","version":"0.3.1","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.3.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"ff721738089669ec13c997969262a0e20cde250e","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.3.1.tgz","fileCount":5,"integrity":"sha512-fokvkj2bh39vxWUXKnZ78AALHEhSZ+7QEkVFRRH54hcEjDxh0zg/SQULGQp2q0f/3m6paSwpKp6oud0G4nwfwQ==","signatures":[{"sig":"MEUCIQDcqH4wQaw/sTmhqtTbpRQq+Nu4vm4JGnsBfm4YLOgu6wIgG1Z8bHlpce7Rs29JCqpj8SeyPWdvOdRWRk7hLQ6bDco=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8812},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"a4d0991ace80799057b801c069277d6464ee80dd","scripts":{"lint":"biome check","test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.0","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.2.0","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.7.3","@types/chai":"^5.0.1","@types/node":"^22.13.1","@types/mocha":"^10.0.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.3.1_1739823175460_0.9673376553865054","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"node-readable-to-web-readable-stream","version":"0.4.0","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.4.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"11e46a316ddad2b2f623d767cbf821d8afe5ca63","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.4.0.tgz","fileCount":5,"integrity":"sha512-9d286kRtVuNTUMMXkfWjSZSDLalyrFtWSMhIWjHVBH8O4Qoc/fIdRpL13cO0IonYHo2SbNIv9fBfZOG0pLOOnQ==","signatures":[{"sig":"MEUCIC2nHz/M3P5mSFbJQjauKkzUf7g34k0n6UQabf5YM2S6AiEA1J4yiGwcvGPlcbRIDrAbCClTALHCddtJTv3P7jApA5s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11732},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"fc52621476c0c002730501d4e5b3d2db93ba0a9e","scripts":{"lint":"biome check","test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.2.0","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.8.2","@types/chai":"^5.0.1","@types/node":"^22.13.8","@types/mocha":"^10.0.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.4.0_1741456416142_0.8551556437012047","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"node-readable-to-web-readable-stream","version":"0.4.1","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"node-readable-to-web-readable-stream@0.4.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"dist":{"shasum":"873d65684347e22dacffd494245cbc423dc28035","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.4.1.tgz","fileCount":5,"integrity":"sha512-mOwlTaTdKc5GaK5vZ72/zEd3ngib6VlZzG89cMesLOp7b0fT4u55jJHqkeZMlsVq5KsqpRPdIb1AVzJuNpQhvA==","signatures":[{"sig":"MEYCIQChrWokvJmA/ifPH6M7GwSXYtXRmDpi07pINIbvvfc5ZQIhALGwApXYv+OH1wSdIvTVUpdTHdjDksZ8NpKtBxsBWMjL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11770},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"a9c171a28ce5bc784b1930ab2346b03e53c70368","scripts":{"lint":"biome check","test":"mocha","build":"yarn run clean && yarn run compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile":"yarn run compile-src","bun:test":"bun run --bun mocha","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_npmVersion":"10.9.2","description":"Convert Node Readable to Web API ReadableStream","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.2.0","mocha":"^11.0.1","del-cli":"^6.0.0","typescript":"^5.8.2","@types/chai":"^5.0.1","@types/node":"^22.13.8","@types/mocha":"^10.0.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/node-readable-to-web-readable-stream_0.4.1_1741465438456_0.2721370535409089","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"node-readable-to-web-readable-stream","version":"0.4.2","description":"Convert Node Readable to Web API ReadableStream","type":"module","exports":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts'","compile-src":"tsc -p lib","compile":"yarn run compile-src","lint":"biome check","build":"yarn run clean && yarn run compile","test":"mocha","bun:test":"bun run --bun mocha"},"author":{"name":"Borewit","url":"https://github.com/Borewit"},"license":"MIT","packageManager":"yarn@4.6.0","devDependencies":{"@biomejs/biome":"^1.9.4","@types/chai":"^5.0.1","@types/mocha":"^10.0.10","@types/node":"^22.13.8","chai":"^5.2.0","del-cli":"^6.0.0","mocha":"^11.0.1","typescript":"^5.8.2"},"keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"_id":"node-readable-to-web-readable-stream@0.4.2","gitHead":"37493f89d8d1c4e58b413c8d372adefd10d02f0e","bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-/cMZNI34v//jUTrI+UIo4ieHAB5EZRY/+7OmXZgBxaWBMcW2tGdceIw06RFxWxrKZ5Jp3sI2i5TsRo+CBhtVLQ==","shasum":"634da58d3fe42a47d4608f1d7f14f85e18daeabe","tarball":"https://registry.npmjs.org/node-readable-to-web-readable-stream/-/node-readable-to-web-readable-stream-0.4.2.tgz","fileCount":5,"unpackedSize":11755,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIApuSfh7tQw91aQV7gxLL3a8q1ocK35wtwIS03I1Tv5eAiBNsXTGyjgsPRAorqA7FZZsaFT1JHPejoKm4yHYk46vJw=="}]},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"directories":{},"maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-readable-to-web-readable-stream_0.4.2_1741511138005_0.9488365926525255"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-01T19:20:13.890Z","modified":"2025-03-09T09:05:38.497Z","0.1.0":"2025-02-01T19:20:14.063Z","0.1.1":"2025-02-02T14:52:16.294Z","0.1.2":"2025-02-02T17:27:33.985Z","0.1.3":"2025-02-02T17:39:23.138Z","0.1.4":"2025-02-02T18:44:43.414Z","0.2.0":"2025-02-10T19:37:31.588Z","0.3.0":"2025-02-12T18:34:53.634Z","0.3.1":"2025-02-17T20:12:55.664Z","0.4.0":"2025-03-08T17:53:36.299Z","0.4.1":"2025-03-08T20:23:58.636Z","0.4.2":"2025-03-09T09:05:38.304Z"},"bugs":{"url":"https://github.com/Borewit/node-readable-to-web-readable-stream/issues"},"author":{"name":"Borewit","url":"https://github.com/Borewit"},"license":"MIT","homepage":"https://github.com/Borewit/node-readable-to-web-readable-stream#readme","keywords":["Readable","Stream","Node.js","Node","ReadableStream","convert","WHATWG","BYOB","Web API"],"repository":{"url":"git+https://github.com/Borewit/node-readable-to-web-readable-stream.git"},"description":"Convert Node Readable to Web API ReadableStream","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"readme":"[![CI](https://github.com/Borewit/node-readable-to-web-readable-stream/actions/workflows/ci.yml/badge.svg)](https://github.com/Borewit/node-readable-to-web-readable-stream/actions/workflows/ci.yml)\r\n[![NPM version](https://badge.fury.io/js/node-readable-to-web-readable-stream.svg)](https://npmjs.org/package/node-readable-to-web-readable-stream)\r\n[![NPM downloads](http://img.shields.io/npm/dm/node-readable-to-web-readable-stream.svg)](https://npmcharts.com/compare/node-readable-to-web-readable-stream?start=356&interval=7)\r\n\r\n# node-readable-to-web-readable-stream\r\n\r\n**node-readable-to-web-readable-stream** is a utility that converts a [Node.js stream.Readable](https://nodejs.org/api/stream.html#class-streamreadable) stream into a [Web API ReadableStream](https://developer.mozilla.org/docs/Web/API/ReadableStream).\r\nThis is particularly useful for integrating Node.js streams with web-native streaming APIs.\r\n\r\nTo convert in the opposite direction, see may use [readable-web-to-node-stream](https://github.com/Borewit/readable-web-to-node-stream) instead.\r\n\r\n## Installation\r\n\r\nInstall the package using npm:\r\n\r\n```bash\r\nnpm install node-readable-to-web-readable-stream\r\n```\r\n\r\nOr with yarn:\r\n\r\n```bash\r\nyarn add node-readable-to-web-readable-stream\r\n```\r\n\r\n## Usage\r\n\r\nYou can either convert to a [WHATWG / Web API ReadableStream](https://developer.mozilla.org/docs/Web/API/ReadableStream) byte mode, or default mode.\r\n\r\nHere's how you can use this utility to convert a [Node.js stream.Readable](https://nodejs.org/api/stream.html#class-streamreadable) stream into a byte [WHATWG / Web API ReadableStream](https://developer.mozilla.org/docs/Web/API/ReadableStream):\r\nIf you want to use a [ReadableStreamBYOBReader](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader) you should use this method.\r\n\r\n```javascript\r\nimport {makeByteReadableStreamFromNodeReadable} from 'node-readable-to-web-readable-stream';\r\nimport {createReadStream} from 'fs';\r\n\r\n// Create a Node.js Readable stream\r\nconst nodeReadable = fs.createReadStream('example.txt');\r\n\r\n// Convert to a web ReadableStream\r\nconst webReadable = makeByteReadableStreamFromNodeReadable(nodeReadable);\r\n\r\n// Now you can use webReadable as a WHATWG ReadableStream in byte mode\r\n```\r\n\r\nIf you want to use a [ReadableStreamDefaultReader](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader) you should use this method.\r\n```javascript\r\nimport {makeDefaultReadableStreamFromNodeReadable} from 'node-readable-to-web-readable-stream';\r\nimport {createReadStream} from 'fs';\r\n\r\n// Create a Node.js Readable stream\r\nconst nodeReadable = fs.createReadStream('example.txt');\r\n\r\n// Convert to a web ReadableStream\r\nconst webReadable = makeDefaultReadableStreamFromNodeReadable(nodeReadable);\r\n\r\n// Now you can use webReadable as a WHATWG default ReadableStream\r\n```\r\n\r\n\r\n## Compatibility\r\n\r\nThis is an ECMAScript Module (ESM).\r\nCross-platform compliant:\r\n- Node.js ≥ 18\r\n- Bum ≥ 1.2\r\n- Modern web browsers\r\n\r\nYou can load the project with `require` in Node.js ≥ 22\r\n\r\n## Features\r\n- Supports stream backpressure\r\n- BYOB (Bring Your Own Buffer) compliant\r\n\r\n## API\r\n\r\n### `toWebReadableStream(nodeReadable, options)`\r\n\r\n- **Parameters:**\r\n  - `nodeReadable` ([Node.js stream.Readable](https://nodejs.org/api/stream.html#class-streamreadable)): The Node.js **Readable** stream to convert.\r\n  - `options` Optional: `{highWaterMark?: number}`, high-water mark in bytes, default 16 kB.\r\n\r\n- **Returns:**\r\n  - A [WHATWG / Web API ReadableStream](https://developer.mozilla.org/docs/Web/API/ReadableStream).\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details.\r\n","readmeFilename":"README.md","cachedAt":1774227388703}