{"_id":"pull-many","_rev":"4577302","name":"pull-many","description":"combine many pull-stream sources into one","dist-tags":{"latest":"1.0.9"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"time":{"modified":"2026-04-10T15:47:05.000Z","created":"2014-05-17T14:55:31.478Z","1.0.9":"2019-06-15T09:34:09.669Z","1.0.8":"2016-10-14T15:01:48.137Z","1.0.7":"2016-10-12T15:53:57.748Z","1.0.6":"2015-06-15T15:35:26.580Z","1.0.5":"2014-09-17T09:54:05.902Z","1.0.4":"2014-06-09T15:27:27.809Z","1.0.3":"2014-06-04T10:33:33.363Z","1.0.2":"2014-06-02T00:01:16.526Z","1.0.0":"2014-05-17T14:55:31.478Z"},"users":{},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"versions":{"1.0.9":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.9","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{"pull-stream":"^3.4.5"},"devDependencies":{"interleavings":"^1.0.0","tape":"^4.10.2"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"4235048571f0007cecc72304a87066ab7ce59e7e","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.9","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","dist":{"shasum":"eb78c2e4f5c003525d48e5b1e98fbf4f766c4202","size":4231,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.9.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pull-many_1.0.9_1560591249545_0.18592289976398502"},"_hasShrinkwrap":false,"publish_time":1560591249669,"_cnpm_publish_time":1560591249669,"_cnpmcore_publish_time":"2021-12-16T11:27:18.535Z"},"1.0.8":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.8","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{"pull-stream":"^3.4.5"},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.23.0","tape":"~4.0.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"748720a8767b91c17d79f22e31994eb28031b61d","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.8","_shasum":"3dadd9b6d156c545721bda8d0003dd8eaa06293e","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.4.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"3dadd9b6d156c545721bda8d0003dd8eaa06293e","size":5694,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.8.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pull-many-1.0.8.tgz_1476457306946_0.9040485923178494"},"directories":{},"publish_time":1476457308137,"_hasShrinkwrap":false,"_cnpm_publish_time":1476457308137,"_cnpmcore_publish_time":"2021-12-16T11:27:18.731Z"},"1.0.7":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.7","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{"pull-stream":"^3.4.5"},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.23.0","tape":"~4.0.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"e610b1260dd5664cc6c80c84e2dd697bd34b1886","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.7","_shasum":"6fbfaaf521f76c39d0adb7e7a13450603d3e79fd","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"6fbfaaf521f76c39d0adb7e7a13450603d3e79fd","size":5647,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.7.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pull-many-1.0.7.tgz_1476287636039_0.8757574202027172"},"directories":{},"publish_time":1476287637748,"_hasShrinkwrap":false,"_cnpm_publish_time":1476287637748,"_cnpmcore_publish_time":"2021-12-16T11:27:18.983Z"},"1.0.6":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.6","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{"pull-stream":"~2.27.0"},"devDependencies":{"interleavings":"~0.3.0","tape":"~4.0.0","pull-stream":"~2.23.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"a00ba62a43a265ad3915a935489588cb3d7a177d","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.6","_shasum":"2389d3385be17fb0b45bff59efe09a3a6c460bb4","_from":".","_npmVersion":"2.11.0","_nodeVersion":"0.12.4","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"2389d3385be17fb0b45bff59efe09a3a6c460bb4","size":4218,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.6.tgz"},"directories":{},"publish_time":1434382526580,"_hasShrinkwrap":false,"_cnpm_publish_time":1434382526580,"_cnpmcore_publish_time":"2021-12-16T11:27:19.281Z"},"1.0.5":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.5","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{},"devDependencies":{"interleavings":"0.0.1","tape":"~2.13.1","pull-stream":"~2.23.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"71d7d5aad3007128ab92f9bf71a95cd7d1910fe7","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.5","_shasum":"caf0b367b1440745a75ecbcd3963e89d9253320a","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"caf0b367b1440745a75ecbcd3963e89d9253320a","size":4078,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.5.tgz"},"directories":{},"publish_time":1410947645902,"_hasShrinkwrap":false,"_cnpm_publish_time":1410947645902,"_cnpmcore_publish_time":"2021-12-16T11:27:19.525Z"},"1.0.4":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.4","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{},"devDependencies":{"interleavings":"0.0.1","tape":"~2.13.1","pull-stream":"~2.23.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.4","_shasum":"1c3a16b5da042a9af40695171bba99636b650baa","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"1c3a16b5da042a9af40695171bba99636b650baa","size":3979,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.4.tgz"},"directories":{},"publish_time":1402327647809,"_hasShrinkwrap":false,"_cnpm_publish_time":1402327647809,"_cnpmcore_publish_time":"2021-12-16T11:27:19.735Z"},"1.0.3":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.3","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{},"devDependencies":{"interleavings":"0.0.1","tape":"~2.13.1","pull-stream":"~2.23.0"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.3","_shasum":"0580789c9692e10c0731f7ceea679cbe27dbf763","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"0580789c9692e10c0731f7ceea679cbe27dbf763","size":3869,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.3.tgz"},"directories":{},"publish_time":1401878013363,"_hasShrinkwrap":false,"_cnpm_publish_time":1401878013363,"_cnpmcore_publish_time":"2021-12-16T11:27:19.999Z"},"1.0.2":{"name":"pull-many","description":"combine many pull-stream sources into one","version":"1.0.2","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{},"devDependencies":{"interleavings":"0.0.1"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"57d4ab9f4b009d2c5c215f09e992bd3a77af863e","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.2","_shasum":"15882ef88340484ce7cf0235dadd65308ff4d108","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"15882ef88340484ce7cf0235dadd65308ff4d108","size":3493,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.2.tgz"},"directories":{},"publish_time":1401667276526,"_hasShrinkwrap":false,"_cnpm_publish_time":1401667276526,"_cnpmcore_publish_time":"2021-12-16T11:27:20.206Z"},"1.0.0":{"name":"pull-many","description":"Combine many streams into one stream, as they come, while respecting back pressure.","version":"1.0.0","homepage":"https://github.com/dominictarr/pull-many","repository":{"type":"git","url":"git://github.com/dominictarr/pull-many.git"},"dependencies":{},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"_id":"pull-many@1.0.0","_shasum":"c3daf5902e248537f711f8daa333b520320709f2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"c3daf5902e248537f711f8daa333b520320709f2","size":3054,"noattachment":false,"key":"/pull-many/-/pull-many-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-many/download/pull-many-1.0.0.tgz"},"directories":{},"publish_time":1400338531478,"_hasShrinkwrap":false,"_cnpm_publish_time":1400338531478,"_cnpmcore_publish_time":"2021-12-16T11:27:20.511Z"}},"readme":"# pull-many\n\nCombine many streams into one stream, as they come, while respecting back pressure.\n\nA chunk is read from each stream,\nand the next available chunk is\nselected in a round-robbin.\n\nIf a any stream errors, then all the remaining streams are aborted,\nand then the sink is passed the error. If you want instead to drop the\nerroring stream, and continue reading from the other streams, you should\npipe each stream through a stream that handles the error(ignores, logs, whatever)\nand then ends normally.\n\n## Example\n\n``` js\n\nvar pull = require('pull-stream')\nvar many = require('pull-many')\n\npull(\n  many([\n    pull.values([1,2,3]),\n    pull.values([1,3,5]),\n    pull.values([2,4,6])\n  ]),\n  pull.collect(function (err, ary) {\n    if(err) throw err\n    console.log(ary)\n    //=> [1, 1, 2, 2, 3, 4, 3, 5, 6]\n  })\n)\n\n// add streams later too\nvar m = many()\n\npull(\n  m,\n  pull.collect(function (err, ary) {\n    if(err) throw err\n    console.log(ary)\n    //=> [1,2,3,4,5,6]\n  })\n)\n\nm.add(pull.values([1,2,3]))\nm.add(pull.values([4,5,6]))\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/dominictarr/pull-many","bugs":{"url":"https://github.com/dominictarr/pull-many/issues"},"license":"MIT"}