{"_id":"express-error-handler","_rev":"57-b1eaee49f8a3ad8ea6fbd5f5196aa7f1","name":"express-error-handler","description":"A graceful error handler for Express applications.","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"express-error-handler","version":"0.1.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","error","handling","error","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"_id":"express-error-handler@0.1.0","dist":{"shasum":"a1074e3e07107e2627f0f093f81918a661aa3e68","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.1.0.tgz","integrity":"sha512-igJ2prpnt5+Oe/OnsMLkFojfAXa9Nh+wUlnrNxHR+Yt0aW3Hx7eEZpq8FgKojIK+WgBwCEnevn+k/zT3Yvoq0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGtbVBx+T0yRiDQ5obmoKe6Ij0QjPgjz85BKeM1iUWZAiBIUi1kY38g7npPkTVBH+8/arqwt0MrUk22zftOpaD+Aw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.1.1":{"name":"express-error-handler","version":"0.1.1","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","error","handling","error","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"_id":"express-error-handler@0.1.1","dist":{"shasum":"d067a21e6ba8937358fc22e59e7bb03442a0213b","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.1.1.tgz","integrity":"sha512-FFDy5VvPhFPXXXQAj6JWmwD6L4boXX70DaHHA4Qy5DpXEumMkcIH9ntW6fhwBCLa1bFkvnCsV9g5rocwLWRf4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMv66z5KZrtpAZ05GfSA5rYuZtvSquuG9VfPOLWmIGMAiAmWnHQWTodMaB5+Hk6SELC/aUSVq8FRS7zSYA0Rq50RQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.1.3":{"name":"express-error-handler","version":"0.1.3","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0"},"_id":"express-error-handler@0.1.3","dist":{"shasum":"a55d875cdc378845b81d5e8f1cdc7b8b45f95061","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.1.3.tgz","integrity":"sha512-fjrsDOlzYqmKA5SAclzVlXGo57QOSoc1tFDB24YpOkl3ioFyQUv/a+AM0M0bpP8dW3EX3gceRmNzM8U1t6PCLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8Ngg6ULpWuMIuAXpHcAXUFiAiTKZsH6nsVkTsBQuongIhAJtdD9mqdRx2sq8JPoT+WFUx/PJflr8UUsh77YG4asNG"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.1.5":{"name":"express-error-handler","version":"0.1.5","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0"},"_id":"express-error-handler@0.1.5","dist":{"shasum":"c7dae40c195e085df9890a8c57a2b58d315b502e","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.1.5.tgz","integrity":"sha512-RnLHkyzNPSRBCDWsauSNSTZCzlDIEpdbhL6EeW9bU0POd6glFzVtd9pEFjMYkryzCiM6RL5TpQ1ecWdVO3cs3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTuRY+xVE4Y6Ej0UmqnNjbBRUiI0RQvm3z2eoYFDtavAIgR6N9U2bvx/kb/BD57Ax20GbhGjiS3LNpFLIUMWRQ6gA="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.2.0":{"name":"express-error-handler","version":"0.2.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.2.0","dist":{"shasum":"1d2b40b58643f03bd4a42a28e6e78686b1290e67","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.2.0.tgz","integrity":"sha512-4S6dLAppAEykUS/FZ5UvXL09oD7JG1hOn1niWGfRsqDQmVEFa/J34JrtFxx6b6MQE93QbWRuoxmETVe56+A6/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFugATp1/gcfuQVTGIGYgunSa+ih5lQXEuvB4k2RNFAgIhAJwYickNpnMYps0fFKdmPTSUN5CKp53ibwBbb5cJBcgF"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.2.1":{"name":"express-error-handler","version":"0.2.1","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.2.1","dist":{"shasum":"af99814d529ea81709db255300a94b6b6d432f4a","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.2.1.tgz","integrity":"sha512-BTLNUtsfNyfRCQfLXEDUCqWYIN75tstWR5mC4KM6TiauGK1x2dzkI4Y/RBXsNVDN6V7jbex1kVo5SpMWqk4QaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+Qd28V7ut3XYQtR6nx1xqgi9cUOb4XAg0qHJjfGOloAiB+nVzb+qQn9UHS+IG0NeLEkXH0j+UcziIr/Jk/7RQHZQ=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.2.2":{"name":"express-error-handler","version":"0.2.2","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.2.2","dist":{"shasum":"92c95c841748d4a4dfa4126a41477b8fe1928147","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.2.2.tgz","integrity":"sha512-RFuol2BQYEEibXJQTV9I8kjHUpaOeaaLqtbGgYbyyWo67uHJ0yJ0anYbEjGl9MaqUX8Kixf9uu8uuvTin9fbSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBn6l5mY1sNzVBD4GWWotdDbkKyaBMyg5cm5iNDwxMpuAiBs1Jvn+VVAp0r1AYX8/Tmg3EOiC/NDJnxyCMfsTXvA1A=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.3.0":{"name":"express-error-handler","version":"0.3.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.3.0","dist":{"shasum":"515063fe8576552729c734f29241d8c4df95ad10","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.3.0.tgz","integrity":"sha512-eaIP7EnaeSCzZuW6Udw9MBjzAXW9ry4PdABlGrKdUe8Xknh/QDc9/BkWLYgDHFcwF//QHHC73qVsARlt4l0m0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGVsKrU53COW7Kkgyc9TzsHvxXKn8GWqYmdT6nDDEylAiEA7egPBRvqj+DLKdCj/fWVqrfaGkD1gWJQrV3+KTruNe0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.3.1":{"name":"express-error-handler","version":"0.3.1","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.3.1","dist":{"shasum":"b1c1b3fc8e4308b4be2328d1c0c6dfb4ac21d215","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.3.1.tgz","integrity":"sha512-oYXl23+eg5az8sEbs/2B0aP2ATyKmiJKuJOgzbM4MzWTxY0WlKwegGmxURaoihqF03S7h8ymoxWuPsHb0HS+XQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXHQCo5fnCEYPnl4j8gOdsyhPaEPX9gqaULgJaBCR9/gIgOACtnNfoQakuy1cJPJ/enZkEndBH6ti9IkL8vbLKxeQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.3.2":{"name":"express-error-handler","version":"0.3.2","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4"},"_id":"express-error-handler@0.3.2","dist":{"shasum":"a9d3d07287ccc064007dcb3677e4bf1520edfb0a","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.3.2.tgz","integrity":"sha512-qyZhYOX1CcmvEvT9FLb4Cgy4B0dJ64HOhhUAmJ/nTPbQthUsKdceBPZtFRN2bqNqAfCTSWyy2EiP4sfnXZUN5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuoFJAKGpJMis/9eymkGV7mmqoNs8N043Bfk+sCCO1VwIhAP/EePaXEa/w0hoKIB12SvWFBVSxk/938Qeb+tJIChIc"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.4.0":{"name":"express-error-handler","version":"0.4.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.4.0","dist":{"shasum":"84e96508b67cd11a3627515242405ea9e80dbbb2","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.4.0.tgz","integrity":"sha512-VGeD0o9cqMdf2Pbb4Ebl6m8darRhf/SCdCd1zOUY67xm/nZhm6ySlh2LRIfVi+l/2N7FYHSEzJLrv0Fdw018CQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnuRy0emW+ZepxoHMJwaGZPoKq9p7o4QYGGpSFoDnNyAiBCao/6o3Oj2HurwHnMDBmKxY/d5S8J16Os8fhPrB8EeQ=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.5.0":{"name":"express-error-handler","version":"0.5.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.5.0","dist":{"shasum":"e69b53e428783b3608e61f3c46a37774cd7694b9","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.5.0.tgz","integrity":"sha512-C6EunFuL94b9a09SYz/HjVMEveKyiyvdU/VDZTPhrqGAlET1tpO+LLubikATCNyJux5Qcjm2qW5BbZweiBEgRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpDRce9aDL58Siw9f9p1M5+hYTfYhCnmstHv09b2AE9AiEAmoyLqXrMgWSRsQxfagO0x3hX+4UNiAaGXQr8Jcwx0nU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.5.1":{"name":"express-error-handler","version":"0.5.1","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.5.1","dist":{"shasum":"c80dff16cdba18ea29caebb9739cb7b1c814df70","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.5.1.tgz","integrity":"sha512-dl6nU2BDlk6IvSo93FwIMPl5hIv/pXacZTP3K4r6uhy9I/nx5VOEAXhE92CttDyQDJ7mAX6Zrnjgtsd4H4ZncQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNBTvKJ8ACGanxzdxl+5OyI5ob4f+CborFZKp5yWeq+wIgeuCFAq29QYHy2e3lK/Bh+/UcmyHOMVFr5ejkOoUpxFI="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.5.2":{"name":"express-error-handler","version":"0.5.2","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.5.2","dist":{"shasum":"99616ec2fd0bf85c745160556d262c71cc9c471f","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.5.2.tgz","integrity":"sha512-c7dqX7na6omGoElVEgOjcI6MYcVl6gLY/8WIRAPQAAHfNNGzLvC+/FSdjMp+B+kGvshzqro6ibd8/AI6IWqghg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK9iVURDitZsmUgFfLpuYSX4AB/d9zFW70XXgEbdE/2wIhAJ4K3lzgFiySzlDDObPupGjf9sj6olW5EyMnZiVAa0a7"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.5.3":{"name":"express-error-handler","version":"0.5.3","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.5.3","dist":{"shasum":"370d611acaeb6cad9a4b19b5b66bf2b6c02deb56","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.5.3.tgz","integrity":"sha512-XVTyUodKGfdbgjy1NYpKCAr/ZOQT0t9yrmE78vg9gyYAVTd5YcqYx0OeSJXyMXW0X1v3w6NdEx6sR3LQ1lhA+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMcTdBMNK5VZyHLQI72wx4F5gs2PuJv5WUj+zA2+KM1wIhAIzQJ/b+JpUN3CeuMBunbPe+3XREDKoJP2B4oP8Yv+Ax"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.5.4":{"name":"express-error-handler","version":"0.5.4","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"~0.7.1","connect-domain":"~0.5.0"},"devDependencies":{"express":"~3.4.0","tape":"~1.1.1","supertest":"~0.8.0","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","through":"~2.3.4","restify":"~2.6.0"},"_id":"express-error-handler@0.5.4","dist":{"shasum":"9895d6d0301c738f4b7ba769707a65f408e3f21b","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.5.4.tgz","integrity":"sha512-aVCVRvjTDT4qq6tPLwtlAwhdbqOiwNkKsstADYmAden0Qv4VPEMbnXnl99awmQWgPNr+yILXOB1p6uEQRYqNFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVQS6JNEnOm0xiPFb/2gqH2GoOlVuaN8xeXkFl5zg4vgIhALpsdzzBbLU5UyrqPYHEovAhBWyAJqrozy1oFOWrz27z"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"directories":{}},"0.6.0":{"name":"express-error-handler","version":"0.6.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"connect-domain":"~0.5.0","json-stringify-safe":"^5.0.0","mout":"~0.7.1"},"devDependencies":{"bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","express":"^4.9.8","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","restify":"~2.6.0","supertest":"~0.8.0","tape":"~1.1.1","through":"~2.3.4"},"gitHead":"b60aa5c5e0b1b318514000309f121a696f464b52","homepage":"https://github.com/dilvie/express-error-handler","_id":"express-error-handler@0.6.0","_shasum":"33c746d6b752076e0795de559da08321d34d9b0f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"dist":{"shasum":"33c746d6b752076e0795de559da08321d34d9b0f","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-0.6.0.tgz","integrity":"sha512-4wPR7bLwN1DmniLil88h4m5qauCrQvc/E3fwEXMOXDtUcRz66ANo8p00zemaV6zvs/EZi4DxBm3eIZ6zbsEI3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiVX8GrS0+zhB+6emnlbfFlUJLkLVqXE544nuuunagugIhAKu2QmNT2Uuta6DS8R4KmDnqeH//LcxQ/cac/tqPlaAU"}]},"directories":{}},"1.0.0":{"name":"express-error-handler","version":"1.0.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"connect-domain":"~0.5.0","json-stringify-safe":"^5.0.0","mout":"~0.7.1"},"devDependencies":{"bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","express":"^4.9.8","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","restify":"~2.6.0","supertest":"~0.8.0","tape":"~1.1.1","through":"~2.3.4"},"gitHead":"9f3eaae1e501e2875d767ad7626b8b7b9b783804","homepage":"https://github.com/dilvie/express-error-handler","_id":"express-error-handler@1.0.0","_shasum":"9a8acf1598bd3ca5bc1385697d5a787a60c91f16","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"dist":{"shasum":"9a8acf1598bd3ca5bc1385697d5a787a60c91f16","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-1.0.0.tgz","integrity":"sha512-zZHOENmUn+oQaG6uybqN1BvcEplj1w3iUnrCzNaCsESQ9M7jPs9xMGhLac6Env1ynDynddTkupt1FIWWTLTJJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8lJc/p4UPBDlUTNckeS2NfSrke2SdYFCwfS7lwMGBHQIgXTZpyZm9fftbbaXZM9Xs32k5V6pLIgLx6b+iV0hSc2E="}]},"directories":{}},"1.0.1":{"name":"express-error-handler","version":"1.0.1","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"test":"node ./test/runtests.js"},"repository":{"type":"git","url":"git@github.com:dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"connect-domain":"~0.5.0","json-stringify-safe":"^5.0.0","mout":"~0.7.1"},"devDependencies":{"bunyan-request-logger":"~0.1.1","connect-cache-control":"~0.1.0","express":"^4.9.8","grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","restify":"~2.6.0","supertest":"~0.8.0","tape":"~1.1.1","through":"~2.3.4"},"gitHead":"bb8de301f53b97744013effc2ad207a1add9e7a6","homepage":"https://github.com/dilvie/express-error-handler","_id":"express-error-handler@1.0.1","_shasum":"ba268d2f9d751401087abe5a53a384cefc4d4669","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"dist":{"shasum":"ba268d2f9d751401087abe5a53a384cefc4d4669","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-1.0.1.tgz","integrity":"sha512-OZGKT4t2g8ioYdv6x7Mh7aZZ7anGrQydo2u0h65B9o6FoMCgHI4kZUuSnkjMV+I0fCfQuN8oA+eA1Q4u0uX3CQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh4kv0H6S3lcBV6Wahhst2ZgX5cko7lQfAcQe+vjEcoAIgCODlneNMN7VFo5kDnltJZf/oh2jOKjV8XRVEuMabQeY="}]},"directories":{}},"1.1.0":{"name":"express-error-handler","version":"1.1.0","description":"A graceful error handler for Express applications.","main":"error-handler.js","scripts":{"lint":"grunt hint","pretest":"npm run -s lint","test":"node ./test/runtests.js","watch":"watch 'clear && npm run -s test' .","start-example":"node examples/app.js | bunyan","latest":"updtr"},"repository":{"type":"git","url":"git+ssh://git@github.com/dilvie/express-error-handler.git"},"keywords":["error","errors","handling","handler","express","connect"],"author":{"name":"Eric Elliott"},"license":"MIT","bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"dependencies":{"mout":"0.12.0"},"devDependencies":{"bunyan-request-logger":"1.0.2","connect-cache-control":"1.0.0","express":"^4.9.8","grunt":"~0.4.1","grunt-contrib-jshint":"1.0.0","restify":"4.0.4","supertest":"1.2.0","tape":"4.5.1","through":"~2.3.4","updtr":"0.1.7","watch":"0.17.1"},"gitHead":"610999b2263fcffefe4cb4daa1099fcbf670ca02","homepage":"https://github.com/dilvie/express-error-handler#readme","_id":"express-error-handler@1.1.0","_shasum":"ff2edb1fedcfcab1e601c60aab3554982f1f6497","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"ericelliott","email":"eric@ericleads.com"},"dist":{"shasum":"ff2edb1fedcfcab1e601c60aab3554982f1f6497","tarball":"https://registry.npmjs.org/express-error-handler/-/express-error-handler-1.1.0.tgz","integrity":"sha512-ftywa80qwdkH2e5J8HJmZ+ZTm8iGFuLgJe/SPswWF0QVNex74q9bFGOIoubHOvuFoW4T+2Bl9jO4TO8dqu4cVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAnYM4ffpalAvRD971xNKZZ8zkIDtfnhfjwnHsjAYpn+AiEAk7ZkZIN8V0NOxQrjRueRfcjfL6EUlzHgmhjgaMPgS6w="}]},"maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/express-error-handler-1.1.0.tgz_1457910163853_0.19080341421067715"},"directories":{}}},"readme":"express-error-handler\n=====================\n\nA graceful error handler for Express applications. This also patches a DOS exploit where users can manually trigger bad request errors that shut down your app.\n\n\n## Quick start:\n\n```js\nvar express = require('express'),\n  errorHandler = require('../error-handler.js'),\n  app = express(),\n  env = process.env,\n  port = env.myapp_port || 3000,\n  http = require('http'),\n  server;\n\n// Route that triggers a sample error:\napp.get('/error', function createError(req,\n    res, next) {\n  var err = new Error('Sample error');\n  err.status = 500;\n  next(err);\n});\n\n// Create the server object that we can pass\n// in to the error handler:\nserver = http.createServer(app);\n\n// Log the error\napp.use(function (err, req, res, next) {\n  console.log(err);\n  next(err);\n});\n\n// Respond to errors and conditionally shut\n// down the server. Pass in the server object\n// so the error handler can shut it down\n// gracefully:\napp.use( errorHandler({server: server}) );\n\nserver.listen(port, function () {\n  console.log('Listening on port ' + port);\n});\n```\n\n## Configuration errorHandler(options)\n\nHere are the parameters you can pass into the `errorHandler()` middleware:\n\n* @param {object} [options]\n\n* @param {object} [options.handlers] Custom handlers for specific status codes.\n* @param {object} [options.views] View files to render in response to specific status codes. Specify a default with `options.views.default`\n* @param {object} [options.static] Static files to send in response to specific status codes. Specify a default with options.static.default.\n* @param {number} [options.timeout] Delay between the graceful shutdown attempt and the forced shutdown timeout.\n* @param {number} [options.exitStatus] Custom process exit status code.\n* @param {object} [options.server] The app server object for graceful shutdowns.\n* @param {function} [options.shutdown] An alternative shutdown function if the graceful shutdown fails.\n* @param {function} serializer a function to customize the JSON error object. Usage: serializer(err) return errObj\n* @param {function} framework Either 'express' (default) or 'restify'.\n* @return {function} errorHandler Express error handling middleware.\n\n### Examples:\n\n`express-error-handler` lets you specify custom templates, static pages, or error handlers for your errors. It also does other useful error-handling things that every app should implement, like protect against 4xx error DOS attacks, and graceful shutdown on unrecoverable errors. Here's how you do what you're asking for:\n\n\n```js\nvar errorHandler = require('express-error-handler'),\n  handler = errorHandler({\n    handlers: {\n      '404': function err404() {\n        // do some custom thing here...\n      }\n    }\n  });\n\n// After all your routes...\n// Pass a 404 into next(err)\napp.use( errorHandler.httpError(404) );\n\n// Handle all unhandled errors:\napp.use( handler );\n```\n\nOr for a static page:\n\n```js\nhandler = errorHandler({\n  static: {\n    '404': function err404() {\n      // do some custom thing here...\n    }\n  }\n});\n```\n\nOr for a custom view:\n```js\nhandler = errorHandler({\n  views: {\n    '404': function err404() {\n      // do some custom thing here...\n    }\n  }\n});\n```\n\nOr for a custom JSON object:\n```js\nvar errorHandler = require('express-error-handler'),\n  handler = errorHandler({\n    serializer: function(err) {\n      var body = {\n        status: err.status,\n        message: err.message\n      };\n      if (createHandler.isClientError(err.status)) {\n        ['code', 'name', 'type', 'details'].forEach(function(prop) {\n          if (err[prop]) body[prop] = err[prop];\n        });\n      }\n      return body;\n    }\n  });\n```\n\n[More examples](https://github.com/dilvie/express-error-handler/tree/master/examples) are available in the examples folder.\n\n## errorHandler.isClientError(status)\n\nReturn true if the error status represents a client error that should not trigger a restart.\n\n* @param  {number} status\n* @return {boolean}\n\n\n### Example\n\n```js\nerrorHandler.isClientError(404); // returns true\nerrorHandler.isClientError(500); // returns false\n```\n\n\n## errorHandler.httpError(status, [message])\n\nTake an error status and return a route that sends an error with the appropriate status and message to an error handler via `next(err)`.\n\n* @param  {number} status\n* @param  {string} message\n* @return {function} Express route handler\n\n```js\n// Define supported routes\napp.get( '/foo', handleFoo() );\n// 405 for unsupported methods.\napp.all( '/foo', createHandler.httpError(405) );\n```\n\n## Restify support\n\nRestify error handling works different from Express. To trigger restify mode, you'll need to pass the `framework` parameter when you create the errorHandler:\n\n```js\nvar handleError = errorHandler({\n  server: server\n  framework: 'restify'\n});\n```\n\nIn restify, `next(err)` is synonymous with `res.send(status, error)`. This means that you should *only use `next(err)` to report errors to users*, and not as a way to aggregate errors to a common error handler. Instead, you can invoke an error handler directly to aggregate your error handling in one place.\n\nThere is no error handling middleware. Instead, use `server.on('uncaughtException', handleError)`\n\nSee the examples in `./examples/restify.js`\n\n\n## Credit and Thanks\n\nWritten by [Eric Elliott](http://ericelliottjs.com/) for the book, [\"Programming JavaScript Applications\"](http://pjabook.com) (O'Reilly)\n\n* [Nam Nguyen](https://github.com/gdbtek) for bringing the Express DOS exploit to my attention.\n* [Samuel Reed](https://github.com/strml) for helpful suggestions.\n","maintainers":[{"name":"ericelliott","email":"eric@ericleads.com"}],"time":{"modified":"2022-06-17T22:16:36.154Z","created":"2013-10-07T07:09:40.518Z","0.1.0":"2013-10-07T07:09:41.766Z","0.1.1":"2013-10-07T07:47:00.826Z","0.1.3":"2013-10-12T22:18:02.297Z","0.1.5":"2013-10-12T22:38:10.511Z","0.2.0":"2013-10-15T00:52:50.563Z","0.2.1":"2013-10-16T04:39:36.222Z","0.2.2":"2013-10-16T05:38:30.857Z","0.3.0":"2013-10-17T06:43:23.098Z","0.3.1":"2013-10-17T07:28:15.974Z","0.3.2":"2013-10-17T07:52:00.389Z","0.4.0":"2013-10-20T21:33:57.125Z","0.5.0":"2013-10-21T03:28:40.873Z","0.5.1":"2013-10-21T04:05:39.383Z","0.5.2":"2013-10-22T09:21:46.502Z","0.5.3":"2013-10-22T12:41:22.482Z","0.5.4":"2013-10-25T17:12:04.186Z","0.6.0":"2014-10-22T21:01:47.546Z","1.0.0":"2014-11-24T06:25:24.282Z","1.0.1":"2014-12-07T00:34:22.165Z","1.1.0":"2016-03-13T23:02:44.353Z"},"author":{"name":"Eric Elliott"},"repository":{"type":"git","url":"git+ssh://git@github.com/dilvie/express-error-handler.git"},"users":{"masanorinyo":true,"r3nya":true,"ryanlatham":true,"wander_lp":true,"goliatone":true,"fenyot":true,"rajkuttie":true,"max_devjs":true,"rocket0191":true,"ahmedfarooki":true,"asfrom30":true,"shoresh319":true,"endsoul":true},"homepage":"https://github.com/dilvie/express-error-handler#readme","keywords":["error","errors","handling","handler","express","connect"],"bugs":{"url":"https://github.com/dilvie/express-error-handler/issues"},"license":"MIT","readmeFilename":"README.md"}