{"_id":"@sindresorhus/merge-streams","_rev":"3282745","name":"@sindresorhus/merge-streams","description":"Merge multiple streams into a unified stream","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2024-05-16T05:35:08.000Z","created":"2023-10-27T15:40:15.641Z","4.0.0":"2024-05-04T19:40:43.039Z","3.0.0":"2024-02-20T19:28:04.883Z","2.3.0":"2024-02-19T13:27:38.210Z","2.2.1":"2024-02-14T16:20:08.590Z","2.2.0":"2024-02-12T18:40:16.096Z","2.1.0":"2024-02-03T19:12:03.371Z","2.0.3":"2024-01-30T18:45:25.846Z","2.0.2":"2024-01-29T06:05:18.936Z","2.0.1":"2024-01-23T08:08:51.779Z","2.0.0":"2024-01-22T09:39:02.996Z","1.0.0":"2023-10-27T15:40:15.641Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"versions":{"4.0.0":{"name":"@sindresorhus/merge-streams","version":"4.0.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && c8 ava && tsd"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"@types/node":"^20.8.9","ava":"^6.1.0","c8":"^9.1.0","tempfile":"^5.0.0","tsd":"^0.31.0","typescript":"^5.2.2","xo":"^0.58.0"},"_id":"@sindresorhus/merge-streams@4.0.0","gitHead":"2d317a4303c6188ada0dcb9edb737e01bf576c28","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_nodeVersion":"20.12.2","_npmVersion":"10.6.0","dist":{"shasum":"abb11d99aeb6d27f1b563c38147a72d50058e339","size":3756,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_4.0.0_1714851642894_0.10733021088722028"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-04T19:40:43.039Z","publish_time":1714851643039,"_source_registry_name":"default","_cnpm_publish_time":1714851643039},"3.0.0":{"name":"@sindresorhus/merge-streams","version":"3.0.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && c8 ava && tsd"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"@types/node":"^20.8.9","ava":"^6.1.0","c8":"^9.1.0","tempfile":"^5.0.0","tsd":"^0.30.4","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"08e744b3f6712e19ce46027900f9abe72d769011","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@3.0.0","_nodeVersion":"21.6.2","_npmVersion":"9.2.0","dist":{"shasum":"26cac4f10a21f9c52528e9fe1b19abb4edd69f61","size":3754,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_3.0.0_1708457284732_0.5421522284397655"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-20T19:28:04.883Z","publish_time":1708457284883,"_source_registry_name":"default","_cnpm_publish_time":1708457284883},"2.3.0":{"name":"@sindresorhus/merge-streams","version":"2.3.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && c8 ava && tsd"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"@types/node":"^20.8.9","ava":"^6.1.0","c8":"^9.1.0","tempfile":"^5.0.0","tsd":"^0.30.4","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"53b7c116601a881dbfde8a3173d5e9df49f34819","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.3.0","_nodeVersion":"18.19.0","_npmVersion":"9.2.0","dist":{"shasum":"719df7fb41766bc143369eaa0dd56d8dc87c9958","size":3563,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.3.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.3.0_1708349258037_0.8678053632003937"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-19T13:27:38.210Z","publish_time":1708349258210,"_source_registry_name":"default","_cnpm_publish_time":1708349258210},"2.2.1":{"name":"@sindresorhus/merge-streams","version":"2.2.1","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && c8 ava && tsd"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"@types/node":"^20.8.9","ava":"^6.1.0","c8":"^9.1.0","tempfile":"^5.0.0","tsd":"^0.30.4","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"a5896d93d3fb62957dc5358351736d4d962c49d0","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.2.1","_nodeVersion":"18.19.0","_npmVersion":"9.2.0","dist":{"shasum":"82b5e1e135ef62ef8b522d6e7f43ad360a69f294","size":3248,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.2.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.2.1_1707927608440_0.527268485177085"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T16:20:08.590Z","publish_time":1707927608590,"_source_registry_name":"default","_cnpm_publish_time":1707927608590},"2.2.0":{"name":"@sindresorhus/merge-streams","version":"2.2.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && c8 ava && tsd"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"@types/node":"^20.8.9","ava":"^6.1.0","c8":"^9.1.0","tempfile":"^5.0.0","tsd":"^0.30.4","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"40481f887d1d3d37475fabf4562ccf52cce7a1ba","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.2.0","_nodeVersion":"20.11.0","_npmVersion":"9.2.0","dist":{"shasum":"b3987287c58b6f1f2b8e8370f01b5a48e1ee3ce8","size":3219,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.2.0_1707763215960_0.5176555480473681"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-12T18:40:16.096Z","publish_time":1707763216096,"_source_registry_name":"default","_cnpm_publish_time":1707763216096},"2.1.0":{"name":"@sindresorhus/merge-streams","version":"2.1.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^6.1.0","tempfile":"^5.0.0","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"b66e13e4e7cb4f08bd4959b4ff0f1e90b15ee3f8","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.1.0","_nodeVersion":"20.11.0","_npmVersion":"9.2.0","dist":{"shasum":"7f3ce7385d483e673b6fe81c8700fc9604e8df30","size":2682,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.1.0_1706987523145_0.5951344932605025"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-03T19:12:03.371Z","publish_time":1706987523371,"_source_registry_name":"default","_cnpm_publish_time":1706987523371},"2.0.3":{"name":"@sindresorhus/merge-streams","version":"2.0.3","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^6.1.0","tempfile":"^5.0.0","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"a52f663d7df97df52e913590a3bfef52229d6075","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.0.3","_nodeVersion":"20.11.0","_npmVersion":"9.2.0","dist":{"shasum":"dd8e1b3d40218de164d0cdf999124b9e3ba07e66","size":2241,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.0.3.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.0.3_1706640325689_0.39074120797574174"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-30T18:45:25.846Z","publish_time":1706640325846,"_source_registry_name":"default","_cnpm_publish_time":1706640325846},"2.0.2":{"name":"@sindresorhus/merge-streams","version":"2.0.2","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^6.1.0","tempfile":"^5.0.0","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"759462fdd00ced560b8db803bae881b3dc4c6434","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.0.2","_nodeVersion":"20.11.0","_npmVersion":"9.2.0","dist":{"shasum":"bfd73b3961d9ac630ff994017335d56da86c0309","size":2250,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.0.2.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.0.2_1706508318774_0.6295759628631936"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-29T06:05:18.936Z","publish_time":1706508318936,"_source_registry_name":"default","_cnpm_publish_time":1706508318936},"2.0.1":{"name":"@sindresorhus/merge-streams","version":"2.0.1","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^6.1.0","tempfile":"^5.0.0","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"492379ea27d9041802abbd324c4e167d246aa406","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.0.1","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"shasum":"2ba008a4d0ca05031b2d088b3223d7bc3f0b6063","size":2260,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.0.1_1705997331624_0.7996285881990939"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-23T08:08:51.779Z","publish_time":1705997331779,"_source_registry_name":"default","_cnpm_publish_time":1705997331779},"2.0.0":{"name":"@sindresorhus/merge-streams","version":"2.0.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^6.1.0","tempfile":"^5.0.0","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"84eb52ab932a707f4af7df266fa2f26e42c06c0c","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@2.0.0","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"shasum":"9518465057be7afcb34c8aa3eceb720af43c34ff","size":2242,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-2.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_2.0.0_1705916342798_0.7445112708257446"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-22T09:39:02.996Z","publish_time":1705916342996,"_source_registry_name":"default","_cnpm_publish_time":1705916342996},"1.0.0":{"name":"@sindresorhus/merge-streams","version":"1.0.0","description":"Merge multiple streams into a unified stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/merge-streams.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"engines":{"node":">=18"},"sideEffects":false,"scripts":{"test":"xo && ava && tsc index.d.ts"},"keywords":["merge","stream","streams","readable","passthrough","interleave","interleaved","unify","unified"],"devDependencies":{"ava":"^5.3.1","typescript":"^5.2.2","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"16be3d0886f68a030616ad6065081363aeae8730","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"homepage":"https://github.com/sindresorhus/merge-streams#readme","_id":"@sindresorhus/merge-streams@1.0.0","_nodeVersion":"20.5.0","_npmVersion":"9.2.0","dist":{"shasum":"9cd84cc15bc865a5ca35fcaae198eb899f7b5c90","size":1915,"noattachment":false,"key":"/@sindresorhus/merge-streams/-/@sindresorhus/merge-streams-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/merge-streams/download/@sindresorhus/merge-streams-1.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-streams_1.0.0_1698421215394_0.8840839978818089"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-27T15:40:15.641Z","publish_time":1698421215641,"_source_registry_name":"default","_cnpm_publish_time":1698421215641}},"readme":"# merge-streams\n\n> Merge multiple streams into a unified stream\n\n## Install\n\n```sh\nnpm install @sindresorhus/merge-streams\n```\n\n## Usage\n\n```js\nimport mergeStreams from '@sindresorhus/merge-streams';\n\nconst stream = mergeStreams([streamA, streamB]);\n\nfor await (const chunk of stream) {\n\tconsole.log(chunk);\n\t//=> 'A1'\n\t//=> 'B1'\n\t//=> 'A2'\n\t//=> 'B2'\n}\n```\n\n## API\n\n### `mergeStreams(streams: stream.Readable[]): MergedStream`\n\nMerges an array of [readable streams](https://nodejs.org/api/stream.html#readable-streams) and returns a new readable stream that emits data from the individual streams as it arrives.\n\nIf you provide an empty array, the stream remains open but can be [manually ended](https://nodejs.org/api/stream.html#writableendchunk-encoding-callback).\n\n#### `MergedStream`\n\n_Type_: `stream.Readable`\n\nA single stream combining the output of multiple streams.\n\n##### `MergedStream.add(stream: stream.Readable): void`\n\nPipe a new readable stream.\n\nThrows if `MergedStream` has already ended.\n\n##### `MergedStream.remove(stream: stream.Readable): Promise<boolean>`\n\nUnpipe a stream previously added using either [`mergeStreams(streams)`](#mergestreamsstreams-streamreadable-mergedstream) or [`MergedStream.add(stream)`](#mergedstreamaddstream-streamreadable-void).\n\nReturns `false` if the stream was not previously added, or if it was already removed by `MergedStream.remove(stream)`.\n\nThe removed stream is not automatically ended.\n","_attachments":{},"homepage":"https://github.com/sindresorhus/merge-streams#readme","bugs":{"url":"https://github.com/sindresorhus/merge-streams/issues"},"license":"MIT"}