{"_id":"bubble-stream-error","_rev":"359094","name":"bubble-stream-error","description":"Bubble errors from an array of streams to a master/top stream","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"time":{"modified":"2021-07-13T08:44:28.000Z","created":"2013-07-01T12:52:35.906Z","1.0.0":"2015-11-26T15:12:00.220Z","0.0.1":"2013-07-01T12:52:35.906Z"},"users":{},"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"repository":{"type":"git","url":"git://github.com/alessioalex/bubble-stream-error.git"},"versions":{"1.0.0":{"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","name":"bubble-stream-error","description":"Bubble errors from an array of streams to a master/top stream","version":"1.0.0","repository":{"type":"git","url":"git://github.com/alessioalex/bubble-stream-error.git"},"main":"index.js","engines":{"node":">= 0.4.0"},"keywords":["bubble","error","stream","stream-error","bubble-stream-error"],"dependencies":{"once":"^1.3.3","sliced":"^1.0.1"},"devDependencies":{"alessioalex-standard":"*","chopped-stream":"^0.1.0","colorize-stream":"^0.1.0","husky":"^0.10.2","pump":"^1.0.1","random-stream":"^0.0.4","tape":"^4.2.2","through2":"^2.0.0"},"scripts":{"test":"node test.js","lint":"alessioalex-standard","precommit":"npm run lint && npm test"},"gitHead":"77efc5c4c2e8c59b61e9b259ccbcf8d543ea8e42","bugs":{"url":"https://github.com/alessioalex/bubble-stream-error/issues"},"homepage":"https://github.com/alessioalex/bubble-stream-error#readme","_id":"bubble-stream-error@1.0.0","_shasum":"7dad97f17128da396169bf37ada4acb195361e30","_from":".","_npmVersion":"2.14.9","_nodeVersion":"4.2.1","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"dist":{"shasum":"7dad97f17128da396169bf37ada4acb195361e30","size":2197,"noattachment":false,"key":"/bubble-stream-error/-/bubble-stream-error-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bubble-stream-error/download/bubble-stream-error-1.0.0.tgz"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{},"publish_time":1448550720220,"_cnpm_publish_time":1448550720220,"_hasShrinkwrap":false},"0.0.1":{"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","name":"bubble-stream-error","description":"Bubble errors from an array of streams to a master/top stream","version":"0.0.1","repository":{"type":"git","url":"git://github.com/alessioalex/bubble-stream-error.git"},"main":"bubble.js","engines":{"node":">= 0.4.0"},"keywords":["bubble","error","stream","stream-error","bubble-stream-error"],"dependencies":{},"devDependencies":{"tap":"0.4.x"},"scripts":{"test":"node test/bubble.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/alessioalex/bubble-stream-error/issues"},"_id":"bubble-stream-error@0.0.1","dist":{"shasum":"55eb86846ecf26605e896aa2f1a31b3c9dcccb62","size":2029,"noattachment":false,"key":"/bubble-stream-error/-/bubble-stream-error-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bubble-stream-error/download/bubble-stream-error-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{},"publish_time":1372683155906,"_cnpm_publish_time":1372683155906,"_hasShrinkwrap":false}},"readme":"# bubble-stream-error\n\nNode module for bubbling errors from 'sub-streams' to a master stream.\n\n[![build status](https://secure.travis-ci.org/alessioalex/bubble-stream-error.png)](http://travis-ci.org/alessioalex/bubble-stream-error)\n\n## examples\n\nThis is what you would normally do:\n\n```js\nrandomStream.pipe(colorizeStream).pipe(choppedStream).pipe(finalStream);\n\n// assign an error handler on each stream\n[randomStream, colorizeStream, choppedStream, finalStream].forEach(function(stream) {\n  stream.on('error', function handleError(err) {\n    // ...\n  });\n});\n```\n\nWith `bubble-stream-error`:\n\n```js\nvar bubbleError = require('bubble-stream-error');\n\n// ...\n\nbubbleError(randomStream, colorizeStream, choppedStream, finalStream);\nrandomStream.pipe(colorizeStream).pipe(choppedStream).pipe(finalStream);\n\n// assign a single error handler instead of 4\nfinalStream.on('error', function handleAllStreamErrors(err) {\n  // ...\n});\n```\n\n## tests\n\n```bash\nnpm test\n```\n\n## License\n\n[MIT](http://alessioalex.mit-license.org/)\n","_attachments":{},"homepage":"https://github.com/alessioalex/bubble-stream-error#readme","bugs":{"url":"https://github.com/alessioalex/bubble-stream-error/issues"},"license":"MIT"}