{"_id":"koa-onerror","_rev":"45-9e1f63cf08e17c41f109a03c548e3d12","name":"koa-onerror","dist-tags":{"latest":"5.0.1"},"versions":{"0.0.0":{"name":"koa-onerror","version":"0.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@0.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/koa-onerror","bugs":{"url":"https://github.com/node-modules/koa-onerror/issues"},"dist":{"shasum":"10789029454c6e89a23d8e78fa2bafe07246aa61","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-0.0.0.tgz","integrity":"sha512-+jyfQ1DNVT7LuK+/RGjQk9JtxOklCCk4EHf0l+lqQWosDJgwC+L9eyo5gPXcQv5bWD/nH2BtGd3JfPTnbnMLxQ==","signatures":[{"sig":"MEUCIQD16XdAChyFWj+Y4r4nLziYwO57kcX0pBVVMaPoaPpj6wIgFJbps7lC7QYnU3g+2cS0wa29H6PO9pK3HKfgKNrI9lo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/node-modules/koa-onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"1.3.2","copy-to":"0.0.3"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","istanbul-harmony":"*"}},"0.0.1":{"name":"koa-onerror","version":"0.0.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@0.0.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/koa-onerror","bugs":{"url":"https://github.com/node-modules/koa-onerror/issues"},"dist":{"shasum":"5b82b3208577234286a82d67f2dfd7a0f20e2fe1","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-0.0.1.tgz","integrity":"sha512-c6OkBTtcxzMupbmfTDhhoG+BFi2am2hTwLO40yc77h3x+Br8TOSItAtPwZA4Z9SIZGkxPEs/TLhZSGvPP0Y51Q==","signatures":[{"sig":"MEQCIFOLBcqjuUy1/wGMZ78Lyl1QT2v7/yoO+iuvZk+eQmEYAiA0YAxHNNo/+7dX1fwvREOC+CLLFateBbs1J4z7kSbFXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/node-modules/koa-onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"koa":"0.5.5","swig":"1.3.2","copy-to":"0.0.3"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","supertest":"0.11.0","istanbul-harmony":"*"}},"0.0.2":{"name":"koa-onerror","version":"0.0.2","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@0.0.2","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/koa-onerror","bugs":{"url":"https://github.com/node-modules/koa-onerror/issues"},"dist":{"shasum":"a3ec4a51e2ee81f76641f54c8ae283ff7de73bb1","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-0.0.2.tgz","integrity":"sha512-SwepmRxNhSSSwk9I679hBGuDpuOnPEQcBgzonUw4Qj07PHkVH9j7S6zrnrx/vOIOOgEvLSa+4uW2POqi+BK3ow==","signatures":[{"sig":"MEUCIHOCi8LvFhrHHvLN1wuo8YE7B/sf3ujA8Uc5bsW0g5mIAiEAlqOdCFt89K1y1vjL9UOtAuJxSEj+oNGPfA5na0oiuuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/node-modules/koa-onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"koa":"0.5.5","swig":"1.3.2","copy-to":"0.0.3"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","supertest":"0.11.0","istanbul-harmony":"*"}},"1.0.0":{"name":"koa-onerror","version":"1.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/koa-onerror","bugs":{"url":"https://github.com/node-modules/koa-onerror/issues"},"dist":{"shasum":"843010d51122c70461d06ecb0eb4e7454ebbbf22","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.0.0.tgz","integrity":"sha512-ZFtqx6nGyIcv2nhevIQ9p5TAVq8CJBh/5yvIztUfeUEkxa4Jl2zmVSuC11JoZqmahzt4k24mAYTRGNC1vLsVqw==","signatures":[{"sig":"MEUCIAK083AVvOvZeBz4dhwel5fuFcGeQi6t/d9icRyjI3lyAiEAkUlRdsu4W7ArZuAZ5HMf1oc0e7burf4IXB09WubwOjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/node-modules/koa-onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"^1.3.2","copy-to":"^1.0.0"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","supertest":"0.11.0","istanbul-harmony":"*"}},"1.0.1":{"name":"koa-onerror","version":"1.0.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.0.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"59eec917220e2f5eb24ecc606bdf14d02a074b40","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.0.1.tgz","integrity":"sha512-qb8GrAQChdtiYl2jzKI4HA3rUwPWkAe8lS5iIUyRSVQeTyy++xZnGdZlROcnB5d6aAuXjdOhbk2A06kyeMOufg==","signatures":[{"sig":"MEUCIQDdI9l5XFNNBDEETufelYSDks8nCyNZTaBbY3uellYk/gIgNSQ18Zg7g98oe4J00l74BbSghlba5riopSy0PNzQhOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"^1.3.2","copy-to":"^1.0.0"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","supertest":"0.11.0","istanbul-harmony":"*"}},"1.0.2":{"name":"koa-onerror","version":"1.0.2","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.0.2","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"668533e0c8687e44b63cb838d89308719129460b","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.0.2.tgz","integrity":"sha512-dp7LG5EWR6KCuvQQ4wfElIlRNFrHYy2gOAzcuA87Vt9CLwYPoqdp6jwh8f0JyvuPQJjbnUIz767VBCyy5RF0wg==","signatures":[{"sig":"MEYCIQCBm0DmzaTDl2rjtLkyNZCUTK9+87IDhN3DdgFUqLO4LwIhAKxZo6q2AoVLUryRQUxmQwqM8eLHbU3QpDql95C++fvD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"^1.3.2","copy-to":"^1.0.0"},"devDependencies":{"koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","supertest":"0.11.0","istanbul-harmony":"*"}},"1.0.3":{"name":"koa-onerror","version":"1.0.3","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.0.3","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"b7da9a01bbbf3bc19e5022df65ffc9d4b1540c89","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.0.3.tgz","integrity":"sha512-4gcS1uPj+wxJlma6B0Jk2uWdOpqFP7qo8kVWNusSZVWFctn5yjP7ur8OVuQVJOeGCfbZ+VEgneH+uFVb1ibLNA==","signatures":[{"sig":"MEQCIGHZqALbtAEK1JQx4YBa6X5qXOCD2qnpCKMYKhpAD5GZAiAVUQiwaH1OMJ50o6jcMi0lEr7eISx5v+imYpnc3IkTcA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"1.4.3","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"^1.3.2","copy-to":"^1.0.1"},"devDependencies":{"cov":"*","koa":"^0.5.5","autod":"^0.1.3","mocha":"*","jshint":"*","should":"*","co-sleep":"0.0.1","supertest":"0.11.0","istanbul-harmony":"*"}},"1.1.0":{"name":"koa-onerror","version":"1.1.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.1.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"79e9d1428c0f13112ffdc0f2ae2744a18d4a0e25","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.1.0.tgz","integrity":"sha512-QvnOWR+ZDiXjm9q+47i+f8ILNRH4sZpFTVoVGLLtb2NMrEXyXlIMdb6ZG/p6hvWy3M6/x95obKzEJg3bJ1Cggg==","signatures":[{"sig":"MEUCIQCS6z0H2JfcT7//FgrjuI4WsHPU4LPhHv6wuAEYwYN3iQIgCgfrbFOGlfTU9+Ba59z2SS0ZcSGjMV/d5YCQBWtATLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"79e9d1428c0f13112ffdc0f2ae2744a18d4a0e25","gitHead":"5604b39b1196a282aad06a05abd99a1125b2bc52","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"2.0.0-alpha-5","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"~1.4.2","copy-to":"~1.0.1"},"devDependencies":{"koa":"~0.8.2","autod":"*","mocha":"*","jshint":"*","should":"*","pedding":"~1.0.0","co-sleep":"~0.0.1","supertest":"~0.13.0","istanbul-harmony":"*"}},"1.2.0":{"name":"koa-onerror","version":"1.2.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.2.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"0a8d7900771a9b42a507f3690998df92e72c6bfb","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.2.0.tgz","integrity":"sha512-1wNuNVkHqe10MF7X/yHvPXyGpdII8qpyY2xYlmkuy5ZWtVSZ7EwuXPobqoE6YLkF5WC+o2cRYouInUrvEGXsdQ==","signatures":[{"sig":"MEQCICKSSyYuT6uj/AbPDO7ncfDXfuHb+gtLzwFu9K4sbpryAiBP92H4lGFfNcyJSI2ouYuBT81CJrLHZs5ysk2Mgu4Vqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"0a8d7900771a9b42a507f3690998df92e72c6bfb","gitHead":"15303852c4642d996bb9e9de772e7f1a90a67e0b","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"2.0.0-alpha-5","description":"koa error handler, hack ctx.onerror","directories":{},"dependencies":{"swig":"~1.4.2","copy-to":"~1.0.1"},"devDependencies":{"koa":"~0.8.2","autod":"*","mocha":"*","jshint":"*","should":"*","pedding":"~1.0.0","co-sleep":"~0.0.1","supertest":"~0.13.0","istanbul-harmony":"*"}},"1.2.1":{"name":"koa-onerror","version":"1.2.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.2.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"fb153eaeb2072c6ac1d32c2219e37eae82aaf553","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.2.1.tgz","integrity":"sha512-ozcpxHIwkDQXij4QAaLXyD+OO3tpwdIqOv8ByYAsYSu6Il7RtTbrW3fiTwYJjQ2b4AE6OBUSr0ofek46nVlHgA==","signatures":[{"sig":"MEUCIQCv8abw5ODTzWseHDUQMVznTHTD+zfD2CGLeC5OH8rfRwIgRSjsWjapWh9nJJg/IHQN/2X4XI1N91nFsPtOi8TZoXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"fb153eaeb2072c6ac1d32c2219e37eae82aaf553","gitHead":"ce7dbf3fd2d3a2c869c70d22e965ae14496c7c15","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"2.1.12","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"0.12.2","dependencies":{"swig":"~1.4.2","copy-to":"~2.0.1"},"devDependencies":{"koa":"~0.20.0","autod":"*","mocha":"*","jshint":"*","should":"*","pedding":"~1.0.0","co-sleep":"~0.0.1","supertest":"~0.15.0","istanbul-harmony":"*"}},"1.3.0":{"name":"koa-onerror","version":"1.3.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.3.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"e2ed0a703769eb9b50cc40135e9278784ea6bad9","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.3.0.tgz","integrity":"sha512-DJbNgHmsySceJ7LldSShVMcE2MLTjKqBQM2Z58Y81920FSf7fQRmaCukkBzQkUVH73FK0bBAunwb6Y3uCf/kNQ==","signatures":[{"sig":"MEQCIEvGJwlIDz/ui6B057/V7wmVYOrA2CGHxPYeNJNwwUWgAiBFIWLil0TB8GhxPaG9Tqfphj+u7yLG/RgdhTckDm8fIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"e2ed0a703769eb9b50cc40135e9278784ea6bad9","gitHead":"33fee7b4c46473c531588880346f767de2bdbc23","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"2.12.0","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"4.2.4","dependencies":{"swig":"~1.4.2","copy-to":"~2.0.1"},"devDependencies":{"koa":"~0.20.0","autod":"*","mocha":"*","jshint":"*","should":"*","pedding":"~1.0.0","co-sleep":"~0.0.1","supertest":"~0.15.0","istanbul-harmony":"*"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-1.3.0.tgz_1457582106548_0.5054661000613123","host":"packages-13-west.internal.npmjs.com"}},"1.3.1":{"name":"koa-onerror","version":"1.3.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@1.3.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"a5b561e1c87ef3289e4301746e01382f24ffbe22","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-1.3.1.tgz","integrity":"sha512-9mu/VjcGWgbbtRJL+RipOhege/qJzos1ibZKF0gT626bsVHO6TACFJa41Tuhw9q84NIBfGpBXKDewHcns3mVsQ==","signatures":[{"sig":"MEUCIQCjeBgOo4ELs7ITeGX0MyzZ4Ay+rJj9EAiqfpcsCuYnjAIgSPgrFwX7M3B/zZrjID/uvH+Bi91cP7SzPxbcFNVvVac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"a5b561e1c87ef3289e4301746e01382f24ffbe22","gitHead":"940e39e943ecbb91a57dbe204be38f1022344af2","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.8.3","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"4.2.4","dependencies":{"swig":"~1.4.2","copy-to":"~2.0.1"},"devDependencies":{"koa":"~0.20.0","autod":"*","mocha":"*","jshint":"*","should":"*","pedding":"~1.0.0","co-sleep":"~0.0.1","supertest":"~0.15.0","istanbul-harmony":"*"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-1.3.1.tgz_1458545888486_0.515365281375125","host":"packages-13-west.internal.npmjs.com"}},"2.0.0":{"name":"koa-onerror","version":"2.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@2.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6"},"dist":{"shasum":"23a50cb8e97471ae2d8ac5aab234c82f5a31b689","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-2.0.0.tgz","integrity":"sha512-vTtffP4VEJNayri7AnnevsjDojsKHVlDe7C1rAWRq+KUUrEKJeCwKl7SMHEMdPsFVDOSLwfaXpmdoFiSDZcFAA==","signatures":[{"sig":"MEUCIQDHWSxuMyXOaOUQBQe5qQ4dv32WCciquRrexwajCA9R2gIgXohdA17d7qhPKbURlDVy1Z5ccaCHt1BLhDwRKeZWFB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"23a50cb8e97471ae2d8ac5aab234c82f5a31b689","engines":{"node":">= 4.0.0"},"gitHead":"49607676e8837946f931f2229d58a1e6143a3223","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.3","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"4.4.2","dependencies":{"copy-to":"^2.0.1","nunjucks":"^2.4.2"},"devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"2","should":"*","pedding":"1","co-sleep":"*","istanbul":"*","supertest":"1","eslint-config-egg":"2"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-2.0.0.tgz_1467600850389_0.8179067790042609","host":"packages-12-west.internal.npmjs.com"}},"2.1.0":{"name":"koa-onerror","version":"2.1.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@2.1.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6"},"dist":{"shasum":"206adb036cf581edd4b4fcfc9e51c79cc452dc10","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-2.1.0.tgz","integrity":"sha512-lwwfyZCIF5SJEXJ6BllkAwEHlpafTLUgVdeSdUBD9KqxsEKkvHB7VyREXeyfLyUQkitr4jcWPrKbH4IHcS+CDQ==","signatures":[{"sig":"MEUCIDNdOh4KuZIB2xvLsYn9snr13DZsZVQwqxyTUTfu4K+pAiEAl+Ys6009rgTshsJmMs8aSkrUWdWlpDKqj6WUU28E/3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","error.html"],"_shasum":"206adb036cf581edd4b4fcfc9e51c79cc452dc10","engines":{"node":">= 4.0.0"},"gitHead":"9e81673cb575fc89139f9baecfc416a1b381a9b1","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.8","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"6.9.0","dependencies":{"copy-to":"^2.0.1","nunjucks":"^2.4.2"},"devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"2","should":"*","pedding":"1","co-sleep":"*","istanbul":"*","supertest":"1","eslint-config-egg":"2"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-2.1.0.tgz_1476891200567_0.3358512129634619","host":"packages-18-east.internal.npmjs.com"}},"3.0.0":{"name":"koa-onerror","version":"3.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@3.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6"},"dist":{"shasum":"ecff70fa74187af817494685031a1e6ba1d2c1e8","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-3.0.0.tgz","integrity":"sha512-YamrhZksz2YS8yTVrXEmW96gaI04VdwsW+eP3FvgAJXiyef3M2m4a3Zg2nK2dlutmyN7cjJMASW1O2C9hFEd0g==","signatures":[{"sig":"MEUCIQDhWtbW1RaLr35wiR5TIj3BvcwMr+l4DoV4vledfIxpNwIgIuWpiauvj7gJBde6BVXIm89vnlrrEDB5knDlDoPrrSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","templates"],"_shasum":"ecff70fa74187af817494685031a1e6ba1d2c1e8","engines":{"node":">= 4.0.0"},"gitHead":"dc2d33960a82acfb406a7c609acabacd152419f9","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.8","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"6.9.0","devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"2","should":"*","pedding":"1","co-sleep":"*","istanbul":"*","supertest":"1","eslint-config-egg":"2"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-3.0.0.tgz_1477038074454_0.025435253977775574","host":"packages-18-east.internal.npmjs.com"}},"3.0.1":{"name":"koa-onerror","version":"3.0.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@3.0.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6"},"dist":{"shasum":"72cb3fc963d4c4519024ef313c04ae6133dbaaff","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-3.0.1.tgz","integrity":"sha512-oARCfiQ1j27Kc6nox3d+DypJH/rz38enEFs01FfTB5ajiKP0ROnEJDcguwjo2Sq/41cWsJWtlkYJzuqi0+k5dg==","signatures":[{"sig":"MEUCIHCvo2CdEJBh8BgxlFz2xbFTfYsUFrTOuGaJf0lJalqaAiEA0p+dq749eXvOWm6kuN4n0/cwV8qQ5OgJFmIuM4VqAJ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","templates"],"_shasum":"72cb3fc963d4c4519024ef313c04ae6133dbaaff","engines":{"node":">= 4.0.0"},"gitHead":"f2910e8ef2aa56b82d98b845568e1729bc6b6a2d","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.8","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"6.9.0","devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"2","should":"*","pedding":"1","co-sleep":"*","istanbul":"*","supertest":"1","eslint-config-egg":"2"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-3.0.1.tgz_1477045619579_0.5729275550693274","host":"packages-12-west.internal.npmjs.com"}},"3.0.2":{"name":"koa-onerror","version":"3.0.2","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@3.0.2","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6, 7"},"dist":{"shasum":"5de0541a89fb735762f17a3298831f408117741e","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-3.0.2.tgz","integrity":"sha512-ylG5OX1xskKvOPeEeYKeSZt98XbIZnP8JJGGeGjcKly7wxuDlC0tHuBgQknKk8rXPh/nQQEP3mHWr1IgooeeVQ==","signatures":[{"sig":"MEUCIQDjMYNsp7jLAcm/B0DT2nOxAx953bj4VpQBn4Y83KI/ngIgKBlGuRknnfYnNk/UTX9jhR61Qr/6oiuYdF2c/caOgdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","templates"],"_shasum":"5de0541a89fb735762f17a3298831f408117741e","engines":{"node":">= 4.0.0"},"gitHead":"7a45ad7245f42cb1cef15b439a00c43bda4cc4ab","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.3","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"6.9.1","devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"3","should":"*","pedding":"1","istanbul":"*","ko-sleep":"*","supertest":"1","eslint-config-egg":"3"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-3.0.2.tgz_1487213341984_0.051377282943576574","host":"packages-12-west.internal.npmjs.com"}},"3.1.0":{"name":"koa-onerror","version":"3.1.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@3.1.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"4, 6, 7"},"dist":{"shasum":"13082b447f9c20847fa3ca335a8a7f1035497b13","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-3.1.0.tgz","integrity":"sha512-yxWbwOxZpWo9QTaarCKGCjTnH8SZNPw00pJ0M4uOE9CVQWXzIOuSl2P5GvwABDCRhI5kJ+5PKccRRUnxZ7xTZA==","signatures":[{"sig":"MEUCIQD7H1P8zoWWV2BQa2MeUlPqwkuo8jChD1EoJny//hwuPwIgIgnG+DiNpU7D8nFmETRzf5Ve0GWXeKO7/ljRbSxIzHw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","templates"],"_shasum":"13082b447f9c20847fa3ca335a8a7f1035497b13","engines":{"node":">= 4.0.0"},"gitHead":"edfff234ce93f6bb7ad9271b0ac768b90f4aeb0b","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"mocha test/*.test.js","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"3.10.3","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"6.9.1","devDependencies":{"koa":"1","autod":"*","mocha":"*","egg-ci":"1","eslint":"3","pedding":"1","istanbul":"*","ko-sleep":"*","supertest":"3","eslint-config-egg":"3"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-3.1.0.tgz_1488448111912_0.11543936701491475","host":"packages-12-west.internal.npmjs.com"}},"4.0.0":{"name":"koa-onerror","version":"4.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@4.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"8, 9"},"dist":{"shasum":"2c1bbf0ac9352e702f161591ddf1e8373716d507","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-4.0.0.tgz","integrity":"sha512-Nak5/9L17wCHiqhooX476630E33JwhsFAeDLxdPSSyukD3JSIMz3ZzJUq1d6d5U+/ZqWt00enaXkv1lsIZzaQA==","signatures":[{"sig":"MEYCIQDNxC5fiHvQ5c/h4Uzhydchnta9p3cOowu6MdUzs206AQIhAKgW0pBiAecbEpK+R1qxcBCyOhhEe7nnR49egSLK2crl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","files":["index.js","templates"],"engines":{"node":">= 8.0.0"},"gitHead":"052fea13b77989352bfaf5cde8bd4561d77eec6c","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"NODE_ENV=development egg-bin test","test-cov":"NODE_ENV=development egg-bin cov"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"5.5.1","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"8.4.0","devDependencies":{"koa":"2","autod":"*","egg-ci":"1","eslint":"4","egg-bin":"^4.3.5","pedding":"1","ko-sleep":"*","supertest":"3","eslint-config-egg":"5"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror-4.0.0.tgz_1510242409140_0.07546666474081576","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"koa-onerror","version":"4.0.1","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@4.0.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"8, 9"},"dist":{"shasum":"dd10a494600882f1428f1cbcd31f488c700cd717","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-4.0.1.tgz","fileCount":7,"integrity":"sha512-cGtyeIrv8EV6HzUdXgYi1fpDUDd2PXja1vMt6ZtaJ6CfmZFzAym5zOuDQLIj1xix9X30GzzQAaPXxXk5f2j1Lw==","signatures":[{"sig":"MEUCIHiGYSgG6yl90qtkvlmWnxihfAL0Q8tPIfz+DADgDXSQAiEA2cfGIYPb7j948mjXOYvTMrVtfzdQV1bAAZIBXLaOmuY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeE8ZCRA9TVsSAnZWagAAEHgP/ijk/iaKV90JlmnM2fdK\nCAQlmK0E2kytwBtIfPyvpKyPF106ksETxWDcarpKKDYCVrE1WxnUxWKc0Vkn\n8+ZcAL6/IBUyP5USyx61xQm6aOsG3AVIgv0TJknt/turdUn914RkB9PeZBf2\nVO6Z6yQJW3YOtwYjBov9P34Cptdntr0weVL5dslh1VGtjNdPh2ppUhinWfJ0\n6JIjyunrQhdGRABE/5+Xh4SekSjk3kQwR9Sngj1cM5oinBYhbPyOKJ+aQGKj\nWW5VC4ENlZVzdHL6JWxG8E+9VMgCPFzvGsoAMSQ4vmoYlOCg+SXFp/HifJfi\nhoN2Ua76Pz6feF0QKwBgccqZQADta3DDjJd8Tj7pgY5MK58Q1vUHzU15poTr\nb1gI8OSmmfU5uoPgCoKEb67y+RywfdYvaeiiHFSFncusW/3tR2wEdNvC8DrE\naiv9sz1Q4/tzKUHrzgYMZcg1AtG/feWVxVHnmXwLkFyK88S186hOHCY42Szh\n+xnkaIONb/BSuVY1M0Dn1k1ZfBbDdJfvf+ku2J1HbKbrvehDAUed78GIbdE7\npfqgupE0c38qg6muyAluvI/ElJqWOED66LM7uWwRE4BZbImuoNWpg8b2IT74\nkdx+9xnQhuJwvtfcBe0QbaeSJ+nZ0/sldZOxfIBuJ8ZwLX5jwOsu68z3P81P\nWGk2\r\n=8sJ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","files":["index.js","templates"],"engines":{"node":">= 8.0.0"},"gitHead":"7ce47c61fb434ca7da48a1600525839b5206413d","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"NODE_ENV=development egg-bin test","test-cov":"NODE_ENV=development egg-bin cov"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"5.10.0","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"10.8.0","dependencies":{"escape-html":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"koa":"2","autod":"*","egg-ci":"1","eslint":"4","egg-bin":"^4.3.5","pedding":"1","ko-sleep":"*","supertest":"3","eslint-config-egg":"5"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror_4.0.1_1534611225230_0.9840167165403508","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"koa-onerror","version":"4.1.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@4.1.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"7949c7651941e67b11813bf1fad03c2d34470b1c","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-4.1.0.tgz","fileCount":7,"integrity":"sha512-UDvOkkXiyVtlhRIvo9wbqKG/pTiiVE5x2uIFpG5e6OmBawxBSURG/PeFa6e6UZjjxinXde3BmPWVSIVePMG6TA==","signatures":[{"sig":"MEYCIQDzrD4XY4Ozs87+uhEoTcZ64XoVQ8T6vPF9ZHukrqgXVQIhALv9lpr92gugMdglqUuiiM978LnS2LV0PVQzg0WUsidy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeY7uCRA9TVsSAnZWagAAvIsP/22b9tZnURTqYqYDCFu0\ne1mwU/RogpJUt7lQ341tkewhnL5CyOLgfS1jnv1+bwYPYQcE+JH9sMhorm84\neiGvTINYIrA6o0HfMjTFsiyL6UofRIVIMIy5LqGQ5THPc466yu/cGEOjaxos\ngcvRY5+Mh2UrjzsdwhLAH1CDwsdc9OPcqXB5Wyrn9xeQfwYKlMZPzV30ySk2\nPao98OJH7u+Szf7vX9p1aiVYgS7a5OnShcHV863A7FavppEjeHuSqUr8+cwh\nyuHWrtn4jgQdiGDRLvlgH7pnSOgYvk6MA3aHRQs1NzQu9y3KQUTlLQuDm468\nvjg7kjGnqhyf7rVGUYb66VGTFG2PHXo1SzV25ffHoCeYxjPcMdOInPb2K/ez\ndwQYfqpIRB6lJ0H1dIR/1kKZCoAjblfeDe/2NFLc4Tp3FrGaAu9wsPqU3hRc\n30svTRjLNLsxrbscB94wxgq5pxuRT+tLiUQYWQNwb7MT9z/QWcGKwkQUjGz+\nBjb0hHZPiO5HBDiSudN77T8j3PIYwq+33MRkC+Dk7m59yvxsk84xG58S28tR\n3jfAvaxBY2hlWj2sxOctvMZdVziT1J1723xEUbZjUafDy2F03IIzLsS0ttdP\ncOkWVh7ccilCm3HhSY56Zmo/E5tLwGewKo4FDSw22RtqYiTrv97mmnulpVVp\nE/Ad\r\n=x6XW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","files":["index.js","templates"],"engines":{"node":">= 8.0.0"},"gitHead":"9fdb665d98b099ecc67f08c4d1bedd03d5c69758","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"NODE_ENV=development egg-bin test","test-cov":"NODE_ENV=development egg-bin cov"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"5.10.0","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"10.8.0","dependencies":{"escape-html":"^1.0.3","stream-wormhole":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"koa":"2","autod":"*","egg-ci":"1","eslint":"4","urllib":"^2.29.1","egg-bin":"^4.3.5","pedding":"1","co-busboy":"^1.4.0","supertest":"3","formstream":"^1.1.0","mz-modules":"^2.1.0","eslint-config-egg":"5"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror_4.1.0_1534693101805_0.8951716802109257","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"koa-onerror","version":"4.2.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@4.2.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"ci":{"version":"8, 10"},"dist":{"shasum":"c617bb71dd036f27f6ade58e70480a50ff5fd4b1","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-4.2.0.tgz","fileCount":7,"integrity":"sha512-D15tp5rxevHqqcvOiEDbtQolG6z3NpBNupz3EUZz43pjYv5SGMom2Xz1FKM8oTya56+aq+hejPW/iBrNnC/UGQ==","signatures":[{"sig":"MEYCIQDwffu5GpUzz++RCUwrS7nAIL7+9AMuQ1YvYZPtNmCJSAIhAO5tl7E0MTNvqy7DV6hc8nVBVtQkWPEgemomf/wGD/Gq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA1BuCRA9TVsSAnZWagAAuK8P+QFC8IdDDMb4H4NBxybA\nu3/5t6QU0HrWu2qgQ01+geNKy4uDM5RS2w/yfyTg3vZvvV8WS2qPZBW4nRMF\nk6G1aC/n5qxcDaHlT1fxEf7dPMt3PV6Ni4cuz7q/qEIGPHilYv3jrlb/2QuA\nGDyrl0nJfug5M8XYnqCuuJyLu4DDziXa2bM6GOBWSuckOME+GnKe7LnrJrw/\nNKF4K4O7uVIkKSkomM2ydsnYuiyxASqMZpsasqmQfLKpKJt2dFloqeGj2FHP\nnh7DjYOkkdFPm8yeoyEWnBbCXQ3I7UO/AmdtSRPopQ8Ay86uCg/KaG3uxOhk\n04ndKY1AprPu3/3BD+zbXqi1a1RDCc+sWeJz2kXAxdoDYrXYJeuxp8N6CMnW\nebIAfoInTah5Sk324z/lJ3zFMONqv7Anbxm8cPgVIDRcdyxaHaeMPRXtJFvs\nvsjT2k30D0z6hRpzyut4Qt1hICVrLk7g++96OzILVfTQnGs8VBEbfkpcMP1K\nst5J+yiTMVaTcrbzl5BWVgR6+RGVXPE8kFybSG56pgQDYzDdjsVgx4kePIMc\nkkX+54tn+iUxfo0pO1kIbp2k4GOaX0zWbEz/LjP7FdJ1xmwuB4WiNxTbq0lI\njTQyMhHPFmHfWCQEHRswUUowRkjr4Pmqfs8ogUFnAL5SEaci7iIqIV3kCEdO\nnwEs\r\n=tz8t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">= 8.0.0"},"gitHead":"aa2907daddca77f5ec4960611337f5f1fc891bda","scripts":{"ci":"npm run lint && npm run test-cov","lint":"eslint test *.js --fix","test":"NODE_ENV=development egg-bin test","test-cov":"NODE_ENV=development egg-bin cov"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"6.14.12","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"16.13.2","dependencies":{"escape-html":"^1.0.3","stream-wormhole":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"koa":"2","autod":"*","egg-ci":"1","eslint":"4","urllib":"^2.29.1","egg-bin":"^4.3.5","pedding":"1","co-busboy":"^1.4.0","supertest":"3","formstream":"^1.1.0","mz-modules":"^2.1.0","eslint-config-egg":"5"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror_4.2.0_1644384366148_0.45477923291151234","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"koa-onerror","version":"5.0.0","keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"koa-onerror@5.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/koajs/onerror","bugs":{"url":"https://github.com/koajs/onerror/issues"},"dist":{"shasum":"62febaf15c6f4d3e800d9174c4659fd481b702ec","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-5.0.0.tgz","fileCount":17,"integrity":"sha512-UCqtRi6hQNcrwIz3Alc1Vz+NB7OZBPbXM6+Ho8dT22ABrZw8FRZX7ScIkF5bd8fMHeWRioYzSrvLcHslH06s1w==","signatures":[{"sig":"MEYCIQC+zc/JLRiCHXz9yKtxWjyYuGWWrPNC3Iy3sMlwgXkQKAIhAPQRUIGfHt1P+7+CpvpeyAuIt0UcyalhEjxk0s4tZ5SY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/koa-onerror@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":39090},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">= 18.19.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"637ffbe42af0ebf82677fc21152d26208f57e774","scripts":{"ci":"egg-bin cov","lint":"eslint --cache src test --ext .ts","test":"egg-bin test","clean":"rimraf dist","preci":"npm run clean &&  npm run lint","postci":"npm run prepublishOnly && npm run clean","pretest":"npm run clean && npm run lint -- --fix","prepublishOnly":"tshy && tshy-after && attw --pack","test:snapshot:update":"SNAPSHOT_UPDATE=1 egg-bin test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/koajs/onerror.git","type":"git"},"_npmVersion":"10.8.2","description":"koa error handler, hack ctx.onerror","directories":{},"_nodeVersion":"20.18.2","dependencies":{"escape-html":"^1.0.3","stream-wormhole":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"mm":"^4.0.2","koa":"2","tshy":"3","eslint":"8","rimraf":"6","urllib":"^4.6.11","co-busboy":"^1.4.0","@eggjs/bin":"7","@types/koa":"^2.15.0","formstream":"^1.5.1","tshy-after":"1","typescript":"5","@types/node":"22","@types/mocha":"10","snap-shot-it":"^7.9.10","@eggjs/tsconfig":"1","@eggjs/supertest":"^8.2.0","eslint-config-egg":"14","@types/escape-html":"^1.0.4","@arethetypeswrong/cli":"^0.17.3"},"_npmOperationalInternal":{"tmp":"tmp/koa-onerror_5.0.0_1738476133629_0.796595502788612","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"koa-onerror","version":"5.0.1","description":"koa error handler, hack ctx.onerror","repository":{"type":"git","url":"git://github.com/koajs/onerror.git"},"keywords":["koa","middleware","error"],"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","bugs":{"url":"https://github.com/koajs/onerror/issues"},"homepage":"https://github.com/koajs/onerror","engines":{"node":">= 18.19.0"},"dependencies":{"escape-html":"^1.0.3","stream-wormhole":"^2.0.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@eggjs/bin":"7","@eggjs/supertest":"^8.2.0","@eggjs/tsconfig":"1","@types/escape-html":"^1.0.4","@types/koa":"^2.15.0","@types/mocha":"10","@types/node":"22","co-busboy":"^1.4.0","eslint":"8","eslint-config-egg":"14","formstream":"^1.5.1","koa":"2","mm":"^4.0.2","rimraf":"6","snap-shot-it":"^7.9.10","tshy":"3","tshy-after":"1","typescript":"5","urllib":"^4.6.11"},"scripts":{"lint":"eslint --cache src test --ext .ts","pretest":"npm run clean && npm run lint -- --fix","test":"egg-bin test","test:snapshot:update":"SNAPSHOT_UPDATE=1 egg-bin test","preci":"npm run clean &&  npm run lint","ci":"egg-bin cov","postci":"npm run prepublishOnly && npm run clean","clean":"rimraf dist","prepublishOnly":"tshy && tshy-after && attw --pack"},"type":"module","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"types":"./dist/commonjs/index.d.ts","main":"./dist/commonjs/index.js","module":"./dist/esm/index.js","_id":"koa-onerror@5.0.1","gitHead":"d8503390716281ba590f5b2c98b425ae1301c43c","_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-mSdakWWkZASupPZe661zhSwa/szIvskdmNpLn9gRmrcI2iktDDLi+u0c6KuG6mI6E6Fh8btVMdx0u40/2IvxQw==","shasum":"b2d2c3674e1338ca8c0061bed819b44a94e186e3","tarball":"https://registry.npmjs.org/koa-onerror/-/koa-onerror-5.0.1.tgz","fileCount":17,"unpackedSize":39398,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/koa-onerror@5.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDAZ0rK/HvM4WbJYjkDSOMC86elgHbu0JdBcYZ9KqXZKgIgH5ynmPm+Zpeb3P8ZAW8c/4fNgVDxYg5Qoy02puaKXko="}]},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/koa-onerror_5.0.1_1738499170130_0.6352534564429653"},"_hasShrinkwrap":false}},"time":{"created":"2014-04-17T17:54:37.989Z","modified":"2025-02-02T12:26:10.691Z","0.0.0":"2014-04-17T17:54:37.989Z","0.0.1":"2014-04-18T07:48:04.571Z","0.0.2":"2014-04-18T08:08:57.059Z","1.0.0":"2014-04-23T17:59:12.634Z","1.0.1":"2014-04-25T03:14:04.431Z","1.0.2":"2014-04-25T03:41:47.483Z","1.0.3":"2014-04-25T11:31:13.391Z","1.1.0":"2014-08-05T07:39:31.881Z","1.2.0":"2014-08-08T03:29:56.109Z","1.2.1":"2015-05-13T06:44:10.853Z","1.3.0":"2016-03-10T03:55:06.978Z","1.3.1":"2016-03-21T07:38:11.001Z","2.0.0":"2016-07-04T02:54:12.908Z","2.1.0":"2016-10-19T15:33:22.439Z","3.0.0":"2016-10-21T08:21:15.385Z","3.0.1":"2016-10-21T10:27:01.518Z","3.0.2":"2017-02-16T02:49:02.242Z","3.1.0":"2017-03-02T09:48:32.178Z","4.0.0":"2017-11-09T15:46:49.313Z","4.0.1":"2018-08-18T16:53:45.317Z","4.1.0":"2018-08-19T15:38:21.905Z","4.2.0":"2022-02-09T05:26:06.475Z","5.0.0":"2025-02-02T06:02:13.869Z","5.0.1":"2025-02-02T12:26:10.337Z"},"bugs":{"url":"https://github.com/koajs/onerror/issues"},"author":{"name":"dead_horse","email":"dead_horse@qq.com"},"license":"MIT","homepage":"https://github.com/koajs/onerror","keywords":["koa","middleware","error"],"repository":{"type":"git","url":"git://github.com/koajs/onerror.git"},"description":"koa error handler, hack ctx.onerror","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"readme":"# koa-onerror\n\n[![NPM version][npm-image]][npm-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/koa-onerror.svg?style=flat)](https://nodejs.org/en/download/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n\n[npm-image]: https://img.shields.io/npm/v/koa-onerror.svg?style=flat\n[npm-url]: https://npmjs.org/package/koa-onerror\n[codecov-image]: https://codecov.io/gh/koajs/onerror/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/koajs/onerror\n[snyk-image]: https://snyk.io/test/npm/koa-onerror/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/koa-onerror\n[download-image]: https://img.shields.io/npm/dm/koa-onerror.svg?style=flat-square\n[download-url]: https://npmjs.org/package/koa-onerror\n\nan error handler for koa, hack ctx.onerror.\n\ndifferent with [koa-error](https://github.com/koajs/error):\n\n- we can not just use try catch to handle all errors, steams' and events'\nerrors are directly handle by `ctx.onerror`, so if we want to handle all\nerrors in one place, the only way i can see is to hack `ctx.onerror`.\n- it is more customizable.\n\n## install\n\n```bash\nnpm install koa-onerror\n```\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst Koa = require('koa');\nconst { onerror } = require('koa-onerror');\n\nconst app = new Koa();\n\nonerror(app);\n\napp.use(ctx => {\n  // foo();\n  ctx.body = fs.createReadStream('not exist');\n});\n```\n\n## Options\n\n```js\nonerror(app, options);\n```\n\n- **all**: if `options.all` exist, ignore negotiation\n- **text**: text error handler\n- **json**: json error handler\n- **html**: html error handler\n- **redirect**: if accept `html` or `text`, can redirect to another error page\n\ncheck out default handler to write your own handler.\n\n## Status and Headers\n\n`koa-onerror` will automatic set `err.status` as response status code, and `err.headers` as response headers.\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=koajs/onerror)](https://github.com/koajs/onerror/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","readmeFilename":"README.md","users":{"minghe":true,"atomgao":true,"bian17888":true,"snowdream":true,"tomgao365":true}}