{"_id":"graceful","_rev":"27-332742faab834799ebbebef29e4e2bae","name":"graceful","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"graceful","version":"0.0.1","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.1","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"acab76237f734240cdd44eae333877a3e8c109d6","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.1.tgz","integrity":"sha512-vU66YUsi2xSwunHa+DTFHs2vUnkXctW4fRNS0t1DJI0NVMgToNs7tcIOsyCDIIryV3us4POPv9fjVCB6G6WtQQ==","signatures":[{"sig":"MEYCIQCE+VX7wucQAVJNSzHTGYp2KHQvvdb3iQCe3urPqBjahQIhAKTVJ21zRGGaKMexihjIMWPQD+q8yAaNoapQ1LhGPnWQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.2.18","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"mocha":"*","should":"*","connect":"*","jscover":"*","supertest":"*"}},"0.0.2":{"name":"graceful","version":"0.0.2","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.2","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"6ca337748acd33788caeecde810171faf606f91e","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.2.tgz","integrity":"sha512-9y5N+N35RdZh99thHBLRvK769ULccW49J9XFO1mgq3F8oQ7x+3GHgNug+1pxn5N40vg5HdLrF+eDl1ENKqCsJg==","signatures":[{"sig":"MEYCIQCozQsQVWaFjYk7lKhTLDRjwapC20f0vsIdH4kA1q3VzQIhAKdJplHpuFyAa2fWDRbfa+Y3ybLaVrudg+JIF54skjup","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.2.18","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"mocha":"*","should":"*","connect":"*","jscover":"*","supertest":"*"}},"0.0.3":{"name":"graceful","version":"0.0.3","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.3","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"6c20ca0a6ccf694c3aa726f20d5137f4e981f12d","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.3.tgz","integrity":"sha512-q9Dn7A18yZNrU1D18IcRq9Ga0UguAcS/+FOHu0pXfz6cHipv5k53jRnpXzo/3irdEixO5UVJ7DzGUJNfxdsCGQ==","signatures":[{"sig":"MEQCIF7jvunugaQZwfSWS9safvMCqODZJy/lWZ6kRViVQQjQAiB78e0awRSp7du7f06BLpUsH1TqCRL2fGqp343URaLwzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.2.18","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"mocha":"*","should":"*","connect":"*","jscover":"*","supertest":"*"}},"0.0.4":{"name":"graceful","version":"0.0.4","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.4","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"a4c7ec0beb4915c75c48c5b05f94afafc00cb98d","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.4.tgz","integrity":"sha512-gvQMo9e+s32Irh3SZ70GOnklQ3eKdAZ1HRpoYtp+Pi6dhAaysVtcBZf3nuAQlXc0gfEDdB6WhGmYP0T5lmvdBQ==","signatures":[{"sig":"MEQCIFyiJsjt4EYOwvBE55/rJX9oLAhJXyxnxCkJJrqNWD1gAiAjhXlyI4enY328NXT2d7qW+bi9VcPBB316ytDXFrGTEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.2.18","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"mocha":"*","should":"*","connect":"*","jscover":"*","supertest":"*"}},"0.0.5":{"name":"graceful","version":"0.0.5","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.5","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"faba06d837365e9e336912042309cfb611262b99","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.5.tgz","integrity":"sha512-4c3pgYMRSmLkZZ8q4MKLvK5FvdDl4qMuIM8x5vfIcnCLVShhjuS+hKfpkQLwGUdCu1nkvvgsFdb8gvMd4jak3w==","signatures":[{"sig":"MEYCIQCpAFO16OTm9P4mC26Ue7MaYMXjyqNAc3gs+KSW0QXPdwIhANfujmj8wVgb+HGY98ERiYDz/v5qk1dYJeHChaC48CvO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.2.18","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"mocha":"*","should":"*","connect":"*","jscover":"*","supertest":"*"}},"0.0.6":{"name":"graceful","version":"0.0.6","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.0.6","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"contributors":[{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},{"url":"https://github.com/dead-horse","name":"dead-horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/fengmk2/graceful","bugs":{"url":"https://github.com/fengmk2/graceful/issues"},"dist":{"shasum":"e90e0834a7c98223396ae3c3d4d03fae663ef172","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.0.6.tgz","integrity":"sha512-Z0Z8bxO+6XW0zLbb8V0viG/qv/ZgXYVNXwPIjjFHSTdtziNfxRvGwePXpRS2HLK0HF1JlhMQewM5wi6xDjE4Uw==","signatures":[{"sig":"MEUCIANV5sL5QyWehibv5LQLkysq4+F62dishHppwwAbtB68AiEArT9s8EeTXLaTzLUE24SF998flPIeyylbpv9anl5a1Hg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","engines":{"node":">= 0.8.0"},"scripts":{},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.3.24","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"autod":"*","mocha":"*","should":"3.1.2","blanket":"*","connect":"2.13.0","coveralls":"*","supertest":"0.9.0","travis-cov":"*","contributors":"*","mocha-lcov-reporter":"*"}},"0.1.0":{"name":"graceful","version":"0.1.0","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@0.1.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"contributors":[{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},{"url":"https://github.com/dead-horse","name":"dead-horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/fengmk2/graceful","bugs":{"url":"https://github.com/fengmk2/graceful/issues"},"dist":{"shasum":"8d7617f183ce4cdbdf56ce46fa7f46c66a264fdd","tarball":"https://registry.npmjs.org/graceful/-/graceful-0.1.0.tgz","integrity":"sha512-hZK8asSZIF32SbSpu+bmqiE7+CSAfrBfXXrTR0wx7R868QRNQqvuiKE9ykLHUSPCiEJFFihwKejiB/0AWiwmlA==","signatures":[{"sig":"MEQCIDF11h8hbynNyGxhizUYsyj341R3MTlJKcYr+UcV7snpAiBJkKesn0OKd2fHamgko125YYHE4gUu8UoMiilnp7mCnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8d7617f183ce4cdbdf56ce46fa7f46c66a264fdd","engines":{"node":">= 0.8.0"},"gitHead":"681c29578bad0fe33b6e383bb9ba2af2992153a0","scripts":{},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/fengmk2/graceful.git","type":"git"},"_npmVersion":"1.4.13","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{},"devDependencies":{"autod":"*","mocha":"*","should":"~3.3.2","blanket":"*","connect":"~2.17.3","coveralls":"*","supertest":"~0.13.0","travis-cov":"*","contributors":"*","mocha-lcov-reporter":"*"}},"1.0.0":{"name":"graceful","version":"1.0.0","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@1.0.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"contributors":[{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},{"url":"https://github.com/dead-horse","name":"dead-horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/graceful","bugs":{"url":"https://github.com/node-modules/graceful/issues"},"dist":{"shasum":"c3abcabbb3adf0785abddce035d4fa72440dece6","tarball":"https://registry.npmjs.org/graceful/-/graceful-1.0.0.tgz","integrity":"sha512-735sh67sF63s9qjZ3TMX6BzbIL3WOy2t+Ouq6SMEfB4DaUAVd+QF3DwSRi2YirAE9T/tb5RQuFkBsaBtMyXdnQ==","signatures":[{"sig":"MEYCIQCF5ynmtonh/qA68y5KQbyo/DPVST/+favQ+7PUin/jTQIhAKYdZeIewgjxVLikfry01sbKCxvDsULg86awsdYK501y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c3abcabbb3adf0785abddce035d4fa72440dece6","engines":{"node":">= 0.10.0"},"gitHead":"583260e1c05d5a84759575bc40b2f33db3357ff2","scripts":{"cnpm":"npm install --registry=https://registry.npm.taobao.org","test":"mocha --check-leaks -R spec -t 5000 -r should test/*.test.js","autod":"autod -w --prefix '~'","jshint":"jshint .","test-cov":"node node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 -r should test/*.test.js","test-travis":"node node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 -r should test/*.test.js","contributors":"contributors -f plain -o AUTHORS"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/graceful.git","type":"git"},"_npmVersion":"2.0.0","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"dependencies":{"humanize-ms":"~1.0.0"},"devDependencies":{"autod":"*","mocha":"*","should":"~4.1.0","express":"~4.10.1","istanbul":"*","supertest":"~0.14.0","contributors":"*"}},"1.0.1":{"name":"graceful","version":"1.0.1","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@1.0.1","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"contributors":[{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},{"url":"https://github.com/dead-horse","name":"dead-horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/graceful","bugs":{"url":"https://github.com/node-modules/graceful/issues"},"dist":{"shasum":"a7a62c8fffb3fab89b6d0d32f6e4074d32a1eeb2","tarball":"https://registry.npmjs.org/graceful/-/graceful-1.0.1.tgz","integrity":"sha512-gMrpaM6Hd2BFSTgw+I5W6Z8qnY632Er3BpOV8FX31W0GztvDwZPyjoeL8k1TexN3JV0hhNQs0gCs1XF21ZNnuw==","signatures":[{"sig":"MEUCIADautYBd5kIWrTpVFViXJuS+ONh7+YfQ2rOQO3PJQrcAiEA2mKZv9rlPR2Pgfz8JvF7Me9/tJGMEgcY4VKvvxIsFDc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"a7a62c8fffb3fab89b6d0d32f6e4074d32a1eeb2","engines":{"node":">= 0.10.0"},"gitHead":"d4fd865f9152c44f9678750947c13e0a7fc7e37a","scripts":{"lint":"jshint .","test":"mocha -R spec -t 5000 -r should test/*.test.js","autod":"autod -w --prefix '^'","test-cov":"istanbul cover _mocha -- -t 5000 -r should test/*.test.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/graceful.git","type":"git"},"_npmVersion":"2.15.5","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"_nodeVersion":"4.4.5","dependencies":{"humanize-ms":"^1.2.0"},"devDependencies":{"autod":"*","mocha":"*","jshint":"2","should":"4","express":"4","istanbul":"*","supertest":"1","contributors":"*"},"_npmOperationalInternal":{"tmp":"tmp/graceful-1.0.1.tgz_1466697276653_0.8272486007772386","host":"packages-12-west.internal.npmjs.com"}},"1.0.2":{"name":"graceful","version":"1.0.2","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@1.0.2","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"contributors":[{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},{"url":"https://github.com/dead-horse","name":"dead-horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/graceful","bugs":{"url":"https://github.com/node-modules/graceful/issues"},"dist":{"shasum":"a7511b0d27e844036746c4ce8e4f1469c0fa2ea6","tarball":"https://registry.npmjs.org/graceful/-/graceful-1.0.2.tgz","fileCount":4,"integrity":"sha512-oRX5662cb/o89rj6R591DS7CGYB9A3vZKDI5ycmO0o6Ub56yM31LySCzIx8N1GHMcMq9J7JqaMLK5U7EIUWB6Q==","signatures":[{"sig":"MEYCIQDVg3d7gC0XQkCEVkdzBZ9TmMbgcHZAhGAn2w3iBxAmAAIhAMGZfw9YCRvb7FCbu5tzK3rUzyWfzm0m6QJTRkOqODbc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2RNnCRA9TVsSAnZWagAA7cIQAIKjNhf8nHwW9kyJrQiA\nF87ExTL/9CxaJVYAjew3NtM9gzEP9FEROJ1eKgEt3BLRLp3mIvsuxkobzPkj\nv2JNxe8oKxCyGDJA/N19vizqkrxmlFqY9pt7lbPdqWcEB0mdzoALK0WgvHwV\nz8DFyl1lAswFoj1y3mh3uk81QH5yMndPuoFtuBB6LkzEejnKP5KYb471bziZ\n+IPRIcwGFT81+CRfVOK6w/p9f25K9mfqK34rNbdrMBGRf4OR9Q8/qmty1vWh\nbBmnJnX9W8vHhR7aUKj+BdmgY94kjwl87UF0+Dult/2FPI2ThtfAM2yHMFTC\nMXvL2CxniKuqxoq/Ohwb/ifwpJkAZn6MMSHnyeJxslHxPZlEef4YskZUDtQa\ndWWY6cjiziC+6jCQUaMamtmV79HSbJivKjrcD0040OUmYq2NGOBBHuslU4YK\n2HGMi79Giu02g9TXH5g5FLsZJPa005ZJjatr47DWSxYCDLQXzlUDLbQMg627\nn08mi4TcLjYwLvjLFr6sOGdsk8mAfs+/fSTtoq7tJg22vDVBhybhSU4M9jMd\n7TFJBT8T0G6eiUKA6XIosO7ejxtDbTe9s/va+lXRsdVifSorXExaHJDuY10H\n/QC3rgbb2R+r8HeGoqZG0Hw2rh7AOzJWUuQmJQK9VUOhqkCSApt6LskgCiIp\nlDhj\r\n=YINz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">= 0.10.0"},"gitHead":"5e8c82345127f90470cee25e70d99dea0834f06a","scripts":{"lint":"jshint .","test":"mocha -R spec -t 5000 test/*.test.js","autod":"autod -w --prefix '^'","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/graceful.git","type":"git"},"_npmVersion":"6.4.1","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"ps-tree":"^1.1.0","humanize-ms":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"autod":"*","mocha":"^3.5.3","jshint":"2","express":"^4.16.4","istanbul":"^0.4.5","supertest":"^1.2.0","contributors":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/graceful_1.0.2_1540952935107_0.7920857358206965","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"graceful","version":"1.1.0","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"graceful@1.1.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/graceful","bugs":{"url":"https://github.com/node-modules/graceful/issues"},"ci":{"type":"github","version":"8, 10, 12, 14, 16, 18"},"dist":{"shasum":"daa39cda63beaf7028b90b8901fe24097a208a48","tarball":"https://registry.npmjs.org/graceful/-/graceful-1.1.0.tgz","fileCount":4,"integrity":"sha512-sImEQVLLBo8hSeX4Vp6HVdWSdqCkHoVlZwBuBL65tNwcPTvnMaW40iWs1vdCbyP0znkCEuvv6rZ37QPloPi9Fw==","signatures":[{"sig":"MEYCIQCQE9q9KxS8pXVmGukAbuNSkH63m2rwqF3F3NhwTZDLOAIhAM2rAbrRGxL3fRSssvALJKdleMVk2Ne1c1ruSEczrNSr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLEpwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9RRAAjiX/sdry+d263YCWx8k7ZQLocYqL8v33nJYWPEibBBu7GQda\r\njumt4GwK3KjFdXFToG0T878Z0yo9YpVeCFkVD83GC4zMNZLfFbMLPawNNTLO\r\n7vFpeED9FSInUYgoJKLor3ZMq5isyrWKpn85NFzQpHXnjmzn+N7hazhAonCY\r\njf7T65SsqB2UeJn83NUo22IrPUvhqcgBulspY7TgZr3TEn9bwCQbeFoDEv7w\r\n6R7O6rvyIEDF5BMgqdCU5Ecz7AWzHZYT8PrkSeYI4EwYBiuqsgyKOAgYoQN8\r\nympjzRuVTNUhhxM/MFWZ3tQcUwx0POp6Mn469XdtDhuVfNC+w3EgQwJXw7Yl\r\nWoujgoEkjwUbx37SibewP9LCTi56J+yl/P/2NNAYAlKXSW6wRsJDr9ca699o\r\nwR2SXxAMkE27yiRVYJL5RH+iknUuSt7Eh0JnjrmrcqvvrDRXGx4VTfYwi4zD\r\nYciVVXPoFSzgFTTrpdyzjjFWQW2kJHSpvjaE2lxx/mz+yMrfbtZEolA1gQGe\r\nAtncMUeMdcILaPYeBTuiqHCjO9OBH4D0BzHZGlJMR0YxEdtv/B9z36/fS4AJ\r\n2vGz7ws6w1Wv7bgwXRyt1T8pepR/QIPLNG+JvjDEOd+0tEx/RooTOewsMFMI\r\nUz7Mk5+6SQJL24C2EG5Nw1Q1/V7mDn1QVr0=\r\n=cT8L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">= 0.10.0"},"gitHead":"3a59ef9e27f36390c2c57dd53f774b6d38f5c89f","scripts":{"ci":"istanbul cover _mocha -- -t 5000 test/*.test.js","lint":"jshint .","test":"mocha -R spec -t 5000 test/*.test.js","autod":"autod -w --prefix '^'","contributor":"git-contributor"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/graceful.git","type":"git"},"_npmVersion":"6.14.12","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"ps-tree":"^1.1.0","humanize-ms":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"autod":"*","mocha":"^3.5.3","egg-ci":"^1.19.1","jshint":"2","express":"^4.16.4","istanbul":"^0.4.5","supertest":"^1.2.0","git-contributor":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/graceful_1.1.0_1663847023870_0.7854821547146502","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"graceful","version":"2.0.0","description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","homepage":"https://github.com/node-modules/graceful","repository":{"type":"git","url":"git://github.com/node-modules/graceful.git"},"keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","engines":{"node":">= 18.19.0"},"dependencies":{"@fengmk2/ps-tree":"^2.0.2","humanize-ms":"^2.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@eggjs/tsconfig":"1","@types/express":"^5.0.0","@types/mocha":"10","@types/node":"22","@types/supertest":"^6.0.2","egg-bin":"6","eslint":"8","eslint-config-egg":"14","express":"^4.21.2","mm":"^3.4.0","supertest":"^7.0.0","tshy":"3","tshy-after":"1","typescript":"5"},"scripts":{"lint":"eslint --cache src test --ext .ts","pretest":"npm run lint -- --fix && npm run prepublishOnly","test":"egg-bin test","preci":"npm run lint && npm run prepublishOnly && attw --pack","ci":"egg-bin cov","prepublishOnly":"tshy && tshy-after"},"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":"graceful@2.0.0","gitHead":"f57c65a98aee474055bbf7e89eead057d2920031","bugs":{"url":"https://github.com/node-modules/graceful/issues"},"_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-q1SvWB1loG0xeZ2ZQBQC2m64RKmXmGjeNosFYKJrkDsQQI9rAgmXKSuaEqqTa90rJRShDnEG/MJDgqnFXI7Phw==","shasum":"9ac8ff00ce359c620dce05fed7bfda459daa58cc","tarball":"https://registry.npmjs.org/graceful/-/graceful-2.0.0.tgz","fileCount":11,"unpackedSize":33953,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/graceful@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPbcIgOhQpSKp8wHjm2GCivTcSlH0wt7AWgFpZQW1jRAiEAukZwhPLLgo5DPHoLHNCVYJzAE95UESMdQPauEpHNzdA="}]},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/graceful_2.0.0_1734252306260_0.3313318092146669"},"_hasShrinkwrap":false}},"time":{"created":"2013-04-12T10:08:57.640Z","modified":"2024-12-15T08:45:06.867Z","0.0.1":"2013-04-12T10:09:03.719Z","0.0.2":"2013-04-14T05:31:32.181Z","0.0.3":"2013-04-14T06:48:25.930Z","0.0.4":"2013-04-18T08:52:36.900Z","0.0.5":"2013-04-18T09:32:36.921Z","0.0.6":"2014-02-17T06:17:45.012Z","0.1.0":"2014-05-29T06:32:57.782Z","1.0.0":"2014-11-05T04:11:45.016Z","1.0.1":"2016-06-23T15:54:38.903Z","1.0.2":"2018-10-31T02:28:55.236Z","1.1.0":"2022-09-22T11:43:44.049Z","2.0.0":"2024-12-15T08:45:06.482Z"},"bugs":{"url":"https://github.com/node-modules/graceful/issues"},"author":{"name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","homepage":"https://github.com/node-modules/graceful","keywords":["graceful","uncaught","uncaughtException","error","graceful","cluster","graceful exit"],"repository":{"type":"git","url":"git://github.com/node-modules/graceful.git"},"description":"Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"readme":"# graceful\n\n[![NPM version][npm-image]][npm-url]\n[![Test coverage][cov-image]][cov-url]\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/graceful.svg?style=flat)](https://nodejs.org/en/download/)\n\n[npm-image]: https://img.shields.io/npm/v/graceful.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/graceful\n[cov-image]: https://codecov.io/github/node-modules/graceful/coverage.svg?branch=master\n[cov-url]: https://codecov.io/github/node-modules/graceful?branch=master\n[download-image]: https://img.shields.io/npm/dm/graceful.svg?style=flat-square\n[download-url]: https://npmjs.org/package/graceful\n\nGraceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.\n\n## Why we should use this module\n\nIt's the best way to handle `uncaughtException` on current situations.\n\n* [Node.js 异步异常的处理与domain模块解析](http://deadhorse.me/nodejs/2013/04/13/exception_and_domain.html)\n\n## Install\n\n```bash\nnpm install graceful\n```\n\n## Usage\n\nPlease see [express_with_cluster](https://github.com/node-modules/graceful/tree/master/example/express_with_cluster) example.\n\nThis below code just for dev demo, don't use it on production env:\n\n```js\nconst express = require('express');\nconst { graceful } = require('graceful');\n\nconst app = express()\n.use()\n.use(function(req, res){\n  if (Math.random() > 0.5) {\n    foo.bar();\n  }\n  setTimeout(function() {\n    if (Math.random() > 0.5) {\n      throw new Error('Asynchronous error from timeout');\n    } else {\n      res.end('Hello from Connect!');\n    }\n  }, 100);\n  setTimeout(function() {\n    if (Math.random() > 0.5) {\n      throw new Error('Mock second error');\n    }\n  }, 200);\n})\n.use(function(err, req, res, next) {\n  res.end(err.message);\n});\n\nconst server = app.listen(1984);\n\ngraceful({\n  servers: [server],\n  killTimeout: '30s',\n});\n```\n\nIf you have multi servers on one process, you just add them to `server`:\n\n```js\ngraceful({\n  servers: [server1, server2, restapi],\n  killTimeout: '15s',\n});\n```\n\n### ESM and TypeScript\n\n```ts\nimport { graceful } from 'graceful';\n```\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=node-modules/graceful)](https://github.com/node-modules/graceful/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","users":{"chenllos":true,"ninozhang":true,"xuyuan923":true}}