{"_id":"stream-combiner2","_rev":"50874","name":"stream-combiner2","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams3.","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"time":{"modified":"2021-06-03T10:15:32.000Z","created":"2014-07-03T18:49:46.216Z","1.1.1":"2015-10-16T23:03:58.486Z","1.1.0":"2015-10-16T20:34:08.661Z","1.0.2":"2014-09-30T21:54:59.590Z","1.0.1":"2014-07-03T18:53:10.003Z","1.0.0":"2014-07-03T18:49:46.216Z"},"users":{"liveinjs":true,"staraple":true,"samhou1988":true,"jonathan.soifer":true,"wangnan0610":true,"crysp":true,"grin_zhou":true,"cognivator":true,"tdmalone":true,"evanj0hnson":true,"seangenabe":true,"icognivator":true,"brofox":true},"author":{"name":"'Dominic Tarr'","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"versions":{"1.1.1":{"name":"stream-combiner2","version":"1.1.1","homepage":"https://github.com/substack/stream-combiner2","repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"dependencies":{"duplexer2":"~0.1.0","readable-stream":"^2.0.2"},"devDependencies":{"tape":"~2.3.0","through2":"^2.0.0","event-stream":"~3.0.7"},"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":"1943d22459c54b1f65753e08f0bfb2dfb95f114b","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams3.","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"_id":"stream-combiner2@1.1.1","_shasum":"fb4d8a1420ea362764e21ad4780397bebcb41cbe","_from":".","_npmVersion":"3.3.2","_nodeVersion":"4.2.1","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"fb4d8a1420ea362764e21ad4780397bebcb41cbe","size":2749,"noattachment":false,"key":"/stream-combiner2/-/stream-combiner2-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-combiner2/download/stream-combiner2-1.1.1.tgz"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1445036638486,"_cnpm_publish_time":1445036638486,"_hasShrinkwrap":false},"1.1.0":{"name":"stream-combiner2","version":"1.1.0","homepage":"https://github.com/substack/stream-combiner2","repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"dependencies":{"duplexer2":"~0.1.0","readable-stream":"^2.0.2"},"devDependencies":{"tape":"~2.3.0","through2":"^2.0.0","event-stream":"~3.0.7"},"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":"852cd7954631d24fc3937f94afd3495f37a60c99","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams3.","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"_id":"stream-combiner2@1.1.0","_shasum":"2a1b620eeb91d23b44599268c14c05384f643ee9","_from":".","_npmVersion":"3.3.2","_nodeVersion":"4.2.1","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"2a1b620eeb91d23b44599268c14c05384f643ee9","size":2745,"noattachment":false,"key":"/stream-combiner2/-/stream-combiner2-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-combiner2/download/stream-combiner2-1.1.0.tgz"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"directories":{},"publish_time":1445027648661,"_cnpm_publish_time":1445027648661,"_hasShrinkwrap":false},"1.0.2":{"name":"stream-combiner2","version":"1.0.2","homepage":"https://github.com/substack/stream-combiner2","repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"dependencies":{"duplexer2":"~0.0.2","through2":"~0.5.1"},"devDependencies":{"tape":"~2.3.0","through":"~2.3.4","event-stream":"~3.0.7"},"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":"da79632e5adb4e87e326b9432656494aa4204544","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams2.","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"_id":"stream-combiner2@1.0.2","_shasum":"ba72a6b50cbfabfa950fc8bc87604bd01eb60671","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.12","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"ba72a6b50cbfabfa950fc8bc87604bd01eb60671","size":2777,"noattachment":false,"key":"/stream-combiner2/-/stream-combiner2-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-combiner2/download/stream-combiner2-1.0.2.tgz"},"directories":{},"publish_time":1412114099590,"_cnpm_publish_time":1412114099590,"_hasShrinkwrap":false},"1.0.1":{"name":"stream-combiner2","version":"1.0.1","homepage":"https://github.com/substack/stream-combiner2","repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"dependencies":{"duplexer2":"~0.0.2","through2":"~0.5.1"},"devDependencies":{"tape":"~2.3.0","through":"~2.3.4","event-stream":"~3.0.7"},"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":"41b23efe51d81ba3ea3ce7b212f0c90b9db79ac6","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams2.","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"_id":"stream-combiner2@1.0.1","_shasum":"e992881737c754a999431134f4f3f5b45ca0a97a","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"e992881737c754a999431134f4f3f5b45ca0a97a","size":2729,"noattachment":false,"key":"/stream-combiner2/-/stream-combiner2-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-combiner2/download/stream-combiner2-1.0.1.tgz"},"directories":{},"publish_time":1404413590003,"_cnpm_publish_time":1404413590003,"_hasShrinkwrap":false},"1.0.0":{"name":"stream-combiner2","version":"1.0.0","homepage":"https://github.com/substack/stream-combiner2","repository":{"type":"git","url":"git://github.com/substack/stream-combiner2.git"},"dependencies":{"duplexer":"~0.1.1","through":"~2.3.4"},"devDependencies":{"tape":"~2.3.0","event-stream":"~3.0.7"},"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":"aa29ed88d74144d04c991a264a81c9d2b9286dfb","description":"This is a sequel to [stream-combiner](https://npmjs.org/package/stream-combiner) for streams2.","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"_id":"stream-combiner2@1.0.0","_shasum":"d37deb7f365a3f7787c4444b2b896d7bfe3f442f","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"nopersonsmodules","email":"nopersonsmodules@gmail.com"}],"dist":{"shasum":"d37deb7f365a3f7787c4444b2b896d7bfe3f442f","size":2720,"noattachment":false,"key":"/stream-combiner2/-/stream-combiner2-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-combiner2/download/stream-combiner2-1.0.0.tgz"},"directories":{},"publish_time":1404413386216,"_cnpm_publish_time":1404413386216,"_hasShrinkwrap":false}},"readme":"# stream-combiner2\n\nThis is a sequel to\n[stream-combiner](https://npmjs.org/package/stream-combiner)\nfor streams3.\n\n``` js\nvar combine = require('stream-combiner2')\n```\n\n## Combine (stream1,...,streamN)\n\nTurn a pipeline into a single stream. `Combine` returns a stream that writes to the first stream\nand reads from the last stream. \n\nStreams1 streams are automatically upgraded to be streams3 streams.\n\nListening for 'error' will recieve errors from all streams inside the pipe.\n\n```js\nvar Combine = require('stream-combiner')\nvar es      = require('event-stream')\n\nCombine(                                  // connect streams together with `pipe`\n  process.openStdin(),                    // open stdin\n  es.split(),                             // split stream to break on newlines\n  es.map(function (data, callback) {      // turn this async function into a stream\n    var repr = inspect(JSON.parse(data))  // render it nicely\n    callback(null, repr)\n  }),\n  process.stdout                          // pipe it to stdout !\n)\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/substack/stream-combiner2","bugs":{"url":"https://github.com/substack/stream-combiner2/issues"},"license":"MIT"}