{"_id":"error-inject","_rev":"6-d0c3689437bfc8fb3b3ce6c3d7b04819","name":"error-inject","description":"inject an error listener into a stream","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"error-inject","version":"1.0.0","description":"inject an error listener into a stream","main":"index.js","files":["index.js"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/node-modules/error-inject.git"},"keywords":["stream","error","listener"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","bugs":{"url":"https://github.com/node-modules/error-inject/issues"},"homepage":"https://github.com/node-modules/error-inject","_id":"error-inject@1.0.0","dist":{"shasum":"e2b3d91b54aed672f309d950d154850fa11d4f37","tarball":"https://registry.npmjs.org/error-inject/-/error-inject-1.0.0.tgz","integrity":"sha512-JM8N6PytDbmIYm1IhPWlo8vr3NtfjhDY/1MhD/a5b/aad/USE8a0+NsqE9d5n+GVGmuNkPQWm4bFQWv18d8tMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+Uj5VZ4Q67uoHdlLsYCc2/lTeSU3AJNWiNJU1Bsr84wIhAJEP1tHMNiX13hyORHbRm9JKECHcmsxiyHvHGUpWenVb"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}]}},"readme":"error-inject\n============\n\ninject an error listener into a stream\n\n## Install\n\n```\nnpm install error-inject\n```\n\n## Usage\n\n\n```js\nvar inject = require('error-inject');\n\nfunction error(err) {\n  console.error(err);\n}\n\nvar rs = fs.createReadStream('index.js');\ninject(rs, err);\n```\n\n## License\nMIT\n","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"time":{"modified":"2022-06-17T08:18:29.591Z","created":"2014-04-09T05:16:45.534Z","1.0.0":"2014-04-09T05:16:45.534Z"},"homepage":"https://github.com/node-modules/error-inject","keywords":["stream","error","listener"],"repository":{"type":"git","url":"git://github.com/node-modules/error-inject.git"},"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"bugs":{"url":"https://github.com/node-modules/error-inject/issues"},"license":"MIT","readmeFilename":"README.md","users":{"goodseller":true,"wangnan0610":true}}