{"_id":"exiting","_rev":"16-5554306193655b3fd2b77ef0a2943cec","name":"exiting","description":"Gracefully stop hapi.js servers","dist-tags":{"latest":"7.0.0"},"versions":{"1.0.0":{"name":"exiting","version":"1.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^1.5.0","hapi":"^9.0.0","lab":"^5.15.2"},"dependencies":{"hoek":"^2.14.0"},"peerDependencies":{"hapi":"9.x.x"},"directories":{"example":"example","test":"test"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"ff0b1d3ef64ebbaa66a69ae5ecd924132705ad36","_id":"exiting@1.0.0","_shasum":"bd3f9d5adc2d3947a1181449914f272f3b0b5139","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.12.7","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"shasum":"bd3f9d5adc2d3947a1181449914f272f3b0b5139","tarball":"https://registry.npmjs.org/exiting/-/exiting-1.0.0.tgz","integrity":"sha512-NrlVHccIje1c0KjHkKT47LaY6ObLfitgWFgV88JHhtEmsAyggWn9rolZLLlV/eqosDrEbZFc1kgX0PAdt54Drw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGg1nJJkuRe13j3Q5G+KRAMDqvKOCHzHhHjGeB+ehlqkAiEAo4bhAV0ZccIGezQd0cWq3C9BC0/zJnuao7glvouGT3k="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}]},"1.0.1":{"name":"exiting","version":"1.0.1","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^1.5.0","hapi":"^11.0.2","lab":"^6.2.0"},"dependencies":{"hoek":"^2.14.0"},"peerDependencies":{"hapi":">=9.0.0"},"directories":{"example":"example","test":"test"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"9e27dc47e36c21e8727cab3e0fa25589bbec2a0a","_id":"exiting@1.0.1","_shasum":"c8fdccab28bbf9ca15a267333c61bc4d636b8783","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"shasum":"c8fdccab28bbf9ca15a267333c61bc4d636b8783","tarball":"https://registry.npmjs.org/exiting/-/exiting-1.0.1.tgz","integrity":"sha512-k06ojtQpB19/El6IbiNaxzOFm5k6HUwquCa6NfmJmsJBiLV+SEosh37KqLfwsiEdbmTM0dNzWSGFebRuWbsmIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMfbZ/MHxpBibKufKcAfqAnRo2drWXRAEw9B//FjId1gIhAPryIl+w2DQmCnoPnYluQP4g4qmeJZNB83HaZrIk/gz2"}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}]},"2.0.0":{"name":"exiting","version":"2.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^3.0.2","hapi":"^14.1.0","lab":"^10.9.0"},"dependencies":{"hoek":"^4.0.2"},"peerDependencies":{"hapi":">=9.0.0"},"engines":{"node":">=4.0.0"},"directories":{"example":"example","test":"test"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"27b0a021fdade29cd9faaaad97e97194c14f0f4d","_id":"exiting@2.0.0","_shasum":"4a4d36e74d5f81a693dc3c3846a6089ef478718f","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.7","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"shasum":"4a4d36e74d5f81a693dc3c3846a6089ef478718f","tarball":"https://registry.npmjs.org/exiting/-/exiting-2.0.0.tgz","integrity":"sha512-Jc13c7yWEPqYi3VoZg0z+F8iGLafOUQUJ8pKCVHopAS438mUGuCT2FTqRRaeqXv6Mh9jYPerlDDqAOO3is2Ujw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6AdMIMiuRyk2cZzvYC3EvRq9xwEX4ky7zLLo0rn/UWAiA6q/0q7nFigO87V0mkMILtLiLdbNxX13weduPeIhc0DA=="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/exiting-2.0.0.tgz_1470824101542_0.41563559300266206"}},"2.0.1":{"name":"exiting","version":"2.0.1","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^3.0.2","hapi":"^14.1.0","lab":"^10.9.0"},"dependencies":{"hoek":"^4.0.2"},"peerDependencies":{"hapi":">=9.0.0"},"engines":{"node":">=4.0.0"},"directories":{"example":"example","test":"test"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"28dea575d1095af4e64aab24a5105eddce178206","_id":"exiting@2.0.1","_shasum":"4e1259969af25fe170e277bcf00c1f1cb1f53f9d","_from":".","_npmVersion":"3.10.5","_nodeVersion":"4.4.7","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"shasum":"4e1259969af25fe170e277bcf00c1f1cb1f53f9d","tarball":"https://registry.npmjs.org/exiting/-/exiting-2.0.1.tgz","integrity":"sha512-xXGGWdWpPCLxc8c/9Owj4N54zgbRa5r7IiCCfPhVzETnaaOEY8QPhk2jBBchImVxvB+mC5oLI3Y5Iod9vS66eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2aBFMcviBKVFXUldOAUBW/FdjxGCxD2O1ZEw3x8d45AiA9P9S4JVvmiwYU4lu+z0hRQB3HZ/uYBxJiEqtTTugF5Q=="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/exiting-2.0.1.tgz_1470824803473_0.11641681310720742"}},"3.0.0":{"name":"exiting","version":"3.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^5.1.0","hapi":"^17.0.0","lab":"^15.0.0"},"dependencies":{"hoek":"^5.0.0"},"peerDependencies":{"hapi":">=17.0.0"},"engines":{"node":">=8.9.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"d45dd3530641b022e700047e78a5ac609523cc50","_id":"exiting@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-uWIHDHAIfmO+f5lYAGPPHARrlEZ10/6F3iVJLJMMaXBBDBJW7XbQEYnlSDnUxvFRWamjG/WeG1BK0pMlRkLEkA==","shasum":"e6e04ed0aed6bd64d85fb380c73f69a31010fccb","tarball":"https://registry.npmjs.org/exiting/-/exiting-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOo+qhDacOlAlFKWHd64pvtNv7vY7Nd+ajRX0rd6o+7QIhAOESMRcaCP0sC6FLc6dCdCG8hgx3m1a+WafpOAk8oOe+"}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting-3.0.0.tgz_1509832704908_0.8353348716627806"},"directories":{}},"4.0.0":{"name":"exiting","version":"4.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^5.1.0","hapi":"^17.0.0","lab":"^15.0.0"},"dependencies":{"bounce":"^1.2.0","hoek":"^5.0.0"},"peerDependencies":{"hapi":">=17.0.0"},"engines":{"node":">=8.9.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"60fa9502cb6bfea40aacc51bedda69c9f3e084ed","_id":"exiting@4.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-7uTcEY1G6Q08I87vmrHxPXjxVHf9T2ffLT1wmKCjvYQHOAkR1DnyoDFwYWgvEWRLZASKoY8LHgaXUiXaaZbXVg==","shasum":"eaf12f1f7eabc664ab968bdfe9b95f82cc3b29b6","tarball":"https://registry.npmjs.org/exiting/-/exiting-4.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzqli/W2NHIaB4wzyPG6ZxUbyaAs+GkSZYxA9YoxyrGAiEAkqHThJoSX+pc4RpdTF6nXpeSm4VurucWOgUXzX5DWT0="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting-4.0.0.tgz_1512741322371_0.4314847756177187"},"directories":{}},"4.0.1":{"name":"exiting","version":"4.0.1","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"code":"^5.1.0","hapi":"^17.0.0","lab":"^18.0.1"},"dependencies":{"bounce":"^1.2.0","hoek":"^6.1.2"},"peerDependencies":{"hapi":">=17.0.0"},"engines":{"node":">=8.9.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"7db6fd6ee8c9a02a33f4758bdc2de90f5c5da9ff","_id":"exiting@4.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-Sa8CoEzhn6+zDFCkaWTT25wnNVDmYpw0o/clCfPaets++LEhwr/PWAyNTbF9pjeGLyLoTr4UDi9fNs3fMMfdCg==","shasum":"5f274c3df96ba3b1e1be0065b26c3937bc5a5be2","tarball":"https://registry.npmjs.org/exiting/-/exiting-4.0.1.tgz","fileCount":5,"unpackedSize":15355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKh6WCRA9TVsSAnZWagAASooP/1a7Kyjo1bXXtpjyvGrz\n4/NFHekvPhiNsTQk/KbNB2rC4wrFeCMEEUY3OBv+fDd+creY5HNDiYQ7CIse\n0YpOO/AKvHNlXplhp/xh6ueca0bTuQ4u6ZuswEaWtnsoOVUBX+QkBDP3VChr\n++HVyfa4jUJIXfjuUATq+kqK28CC1FVENgnoM6Gfpi06W/nMsGAQJ5KgtbXX\nc3XQ4oAXlBZ0dk47DGXb11fucbiC2wY5NWdOO7eOdtHQ5ClbAvAx06tO6X9Q\naCV3Xom7Ije2xgItAltelNzdL4diU4YE7ZiJN6RE6qBuDdKAmgP52aoyepgL\nPNN6uc+RPVAzknpE8nNzeiV9Gzab2RcQ5B4+pOFXdI9i2i+ieWsTx3oy0yLH\neM3pRdkiBXq3tp0aAJIUea50HpdeXQ/xKiy84wUy+SL/6AgYyd4pRRntgBCU\nv8cXNhuORRh5VACuaHLm696Gciq+sa8/ZdGIeDPT0gSA7iYduOICuCG+/fC2\n8yUvi1t63Pb7VStHyU78TFyR3aTz8uvWfvw0jnVHKQudsvC7ztP6KzdTg7IO\nL6AiCRLzFRni3fC7ukSfYDbhOL7pQ0yvIyTo5RA/ZrLv+1wcIvtg14J3wfJn\nH+POfsZGloUVb0WJ6XQEmMILJVYK4mwiaq5LXxJaQxh5jqJ3WXtEEjQz6uMm\nqtTu\r\n=Got5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnBpkAJ2C23+k3iykuRVpQTy/Xll0fL/OWSC1AwnXMUQIhALfcyXp8AH7tm7Q72h21q8xicVYIfIowVMXL4DAlH384"}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_4.0.1_1546264213945_0.48414731318748294"},"_hasShrinkwrap":false},"4.1.0":{"name":"exiting","version":"4.1.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^5.3.1","@hapi/hapi":"^18.3.1","@hapi/lab":"^18.1.2"},"dependencies":{"@hapi/bounce":"^1.3.0","@hapi/hoek":"^6.2.1"},"peerDependencies":{"@hapi/hapi":">=17.9.0"},"engines":{"node":">=8.9.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"38708323f088d7c51f5519f7a55f5ae342f21a06","_id":"exiting@4.1.0","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-A9SRI5Y5blscCEqeLVNZsfoI8l5ej8c8MXSKnFp4qLhuL2BqOTcUdfOddirxLlYEOQk1rwso/fM6bjnkQORQcw==","shasum":"304dbdc5fb96db9adae8b78c8d90496f06335964","tarball":"https://registry.npmjs.org/exiting/-/exiting-4.1.0.tgz","fileCount":5,"unpackedSize":15415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwbWCCRA9TVsSAnZWagAA0yEP/2MJg/i8hyvBkBRBnn1T\nqhJ2IjYJ/eboFlVB6pdcxdirBq5Viw9ZjMKUexPx/5SphGSWpaol7L6tm3CD\n0VuXtpgplokhrhVDOAzy3kuW3nAbAxavSipqIr0VidRCIOV6UeOoE14l411F\nC02GrdmlpuRJjLbr5zvpVSNrZtKFr28g+4Nlw1f+PP5r0DbZtIQu4mpKGvt4\nL76dX82v9QYg//C8Zqgc2xaJIJDf4XZWW4zcFY60UwWUYRN8XUdQRN4q0J6V\n5mDVM5qxXF8cKCAwdr6R1OFzgMk2nHwIzVb/JWhyQcol3HTrLGiWjeMWq/GI\nxG1bIK6OQKVeR14wVLPMiv4KT2eRp9TdNBYgFyHw5cHSXSXp4D+JHDNnxeTZ\nJ/kWI5oD5AmC8QPwmFngxYMpCqNWUfGtL63nrXa0VPjrbBCabR9D9Gj4kxM2\nmL/nnhztIAiM03XR+S8KeBG7XVwXssmtEu1Kp5sm3Gh7y4eKdS1RkeVo7Xvp\nLTM/7h1HsrM8yQrk3uVhzB+5qzOd93ASKHRKYOdYIMBS4PM0hMH58xzSY9wc\nbqZ3UzaQ2adhwUPXX+pyPemMRRYBM1hSDTn3uexyOigE20Jqp43DVrUEnpqQ\nMNv50Ph7osS2lSfNt/sEaVD8KMeLnPJNJa0cLr4Gf1qvela5wcEhBmOgjefz\noBNV\r\n=ZyO2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLBtigjIZhHgdX67cxW2pjHZeE6s3XLGMx7D1sSIQPJAiAOSFmnaQk+O8cHm9QQtZkfpOYCJVRUBnAIjRGYWckHow=="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_4.1.0_1556198785986_0.40152483762825586"},"_hasShrinkwrap":false},"5.0.0":{"name":"exiting","version":"5.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^7.0.0","@hapi/hapi":"^18.4.0","@hapi/lab":"^21.0.0"},"dependencies":{"@hapi/bounce":"^1.3.0","@hapi/hoek":"^8.3.2"},"peerDependencies":{"@hapi/hapi":">=17.9.0"},"engines":{"node":">=10.13.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"e8f5e12341219812310d3991316553dd5f8fb18f","_id":"exiting@5.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-Q/TvgYpniOea+q5/lfIVcmp/Kawzx6LwCTg5GA2ZbVbff/7rHjEfcYysw8ArvONy/xSqjUfjRhGzlwxt9+ckFQ==","shasum":"0fcbdbff512287e18a7e4148f4c94dd4860fb7fa","tarball":"https://registry.npmjs.org/exiting/-/exiting-5.0.0.tgz","fileCount":5,"unpackedSize":15417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdssHNCRA9TVsSAnZWagAA47gP/i9mjLSpIiXEq2ljclgc\nvmAIEP/2ArZTXn4EapdAKNY6+jWIddAgvBJ11fnZ3OfKewLNsqmE1imMAUFB\nbOZls5B2l4SH7868WPqJtyo1yRDYq7qiRd2ZZLzzH2jKw1GAItUuhYB/3WBv\npX73/uhVbmSPOhHg2JV2v/7qNsk5jtfzaXB1um2UgayjsVS2W0W9D2u0x+Hq\nCghRDbhvMZ4Yum/Ql4GABdl7pFeyB/LNDOvISv+WZU9gETlmjgzJtjZBmwvl\nA+A4c1v+hA89UJpEoromGc6PwkahI5MO6Xb6EyDr346tr8u24jSn3EToVnEw\nUhjmoY+FKgUZWXUE0i9cezXZMUAYr8g0OzSdiETuENezjXSqVURnjPCYGNnd\n/aPkQ8ktGDPDEPxvp1e/dCHRtncml0/HRxUPpAEGEfPA6319F8z2fzuCvG+6\njrc3jsQjipxidxxudJ8Cp6qQhXhbpwMLcP89WkqIrATgKVVDNfL577Lk+coN\nw7tPsy5MFCoVzwS7VB7eygap9N0Au+6yr9uJ5V/DR2dOIKL3Kz5phlS4c7ox\nHFP+N/PnqhBb7RXAH4pFYlIsG/Lns+tI5HkNR1de5Axa3StW8j61bCojKi+G\n9F9iDaWjX846Q3KD+ybC7Ydh/XNYlnRKZ3AQibftYS7a+XdhAuKTfD1Tly3q\nDdqx\r\n=y5jo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoDOWXev5sPS4TxymMpRkuZhjc1132FD3RakEExFYVKAiEAnqkBK2FNr4SlGUrQsM/v2+mgk8sRRkPjIk7/eFDLI3Q="}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_5.0.0_1571996109278_0.45884518952069997"},"_hasShrinkwrap":false},"6.0.0":{"name":"exiting","version":"6.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^8.0.1","@hapi/hapi":"^19.0.4","@hapi/lab":"^22.0.3"},"dependencies":{"@hapi/bounce":"^2.0.0","@hapi/hoek":"^9.0.2"},"peerDependencies":{"@hapi/hapi":">=17.9.0"},"engines":{"node":">=12.13.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"91bab8bb40d42939a646fe269fc6a0f07cd51efe","_id":"exiting@6.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-4wpZuyD4OrSAGgHPNHO5ezj5pmyjK9jrvoc6c/HKnGG+ypEHjOC/JnXyBmgjskeOuVnPUAZI3AAnrr+6pYVsKA==","shasum":"fde9a745dbe757aba849c8072a3531e8fb286414","tarball":"https://registry.npmjs.org/exiting/-/exiting-6.0.0.tgz","fileCount":5,"unpackedSize":15417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHuJLCRA9TVsSAnZWagAAKhIP/iOITy7+g7GMDyNR/4oN\nlzyZJvY8bp8W/tg/E3SriUYDEcxwYtoxrh6zoLJ4HI+dBYTC62TvmWlythi/\nJwHZzys4HroQ1rDQK8qkzC2iTRVB7SZ/kMwy8BGp8EPMZeOM+3iMIWGrn4a1\nDUuvyEm55tuj6s8VIuD12KapIthzrThqYA5L+10Y7MQMJA8BvfFmntw/8zWf\nnX0c5MidvzY/x+uEjUqUWdIb5qURgaypPmTYQLfhY2erEuGnNAdCaMvAXcPR\nb9Nj7YhbUoCI+/pXEUdSqrcqF4z1r+FTbTsIbnTSdBndtIdL2M7kZZTDhDFO\nAMxklGHqBbd7LMlAmQwM1//sU8t0J6gALMKeErRyRzbpXas97dtfqN7zzhnK\ndQhDLtlJ26Gbv4YjxY+dNSQdgJ6GvCNYu/p0xabso+psl2okyPp2j4PIU3ZO\nQNTyUlXQQY5FGxXpLPvehaNP/0q2iKLr8/7t0pviobPqVec7tLleUszo7nWJ\nJRq1YqFR/Zf/DDVYIuc/HycpIZjtXFATWBZjGMvzJAE3cf7IeAoV3Xazn/f3\nuPXN1eriPjpwyYAeezFPBPlrb7IKSIZa5ag+zIGAeSBxkQCpGIgoTD5Kuk8u\nvTcLFoPv4XF64AUWYSEgMFqC3Qt7a1KVjX1zXYrSZNnpYaXr4uq12PKe65Cp\n/vce\r\n=p/VL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOFwk1cF+MBQ6K7p9ajG+7Z6SNRjh5uvHVLZ93wd9YqgIhALYpv5Wg1c6hnt16ISEOOpVaHAQdBmvXDKxBOXLEMzBF"}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_6.0.0_1579082314683_0.37127560753912836"},"_hasShrinkwrap":false},"6.0.1":{"name":"exiting","version":"6.0.1","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^8.0.1","@hapi/hapi":"^19.0.4","@hapi/lab":"^22.0.3"},"dependencies":{"@hapi/bounce":"^2.0.0","@hapi/hoek":"^9.0.2"},"peerDependencies":{"@hapi/hapi":">=17.9.0"},"engines":{"node":">=12.13.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"0f03761b1ebc5cee03bfb6fbf04b1fa15c8eb1ef","_id":"exiting@6.0.1","_nodeVersion":"13.8.0","_npmVersion":"6.13.7","_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"dist":{"integrity":"sha512-0kUQkyWTMJUZ2wKkxjducVojsL5vtDxw26q9sd07SwyWZswbHOrWN9Bs2jk9uXffatsGp2QP5tmQUYXiPi1Z2A==","shasum":"c44e5f00564eb32350cf9a6bb34f7b9b739cee16","tarball":"https://registry.npmjs.org/exiting/-/exiting-6.0.1.tgz","fileCount":5,"unpackedSize":15496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJediVNCRA9TVsSAnZWagAAOxIQAJImRZYGVCXGGjmbvDWg\nqs7907bvYsepP92DZ9ihAjJmLok6S53V4tP8xP9uhHvF9n22EQcg1xdaBfxd\n5dUxfVHyGIIl2HEg9jIorYdV67xT8v6Mnm8lCnFlLcIJxYhPnfeXka4jxqLo\n3Pj65MNiK6WvKggguMUNvvLWfOJNrK3Rmtl6n5NeDapbAOhHx9qb/ncfFxzJ\nWG4Vp921hjhervXURDYhOvd4NRUScmGNej/I3BLQqqSDSa4QvflzqRVAHv/p\ngX3DuVCFDas2Gt0ujR87ZfPwzlH6XGHy9ndVAK/t13U0L4BnipJbtFT1HIG2\nN4nBe3wA4EQs79kfrjspKdWtVPmdK9++6lNaKrYgCXDalftHmJhGpUNRpezu\naHjnToVe50aLcXvN5jH/7ngd8REdYACvF8BkK7sJTJLi+jSVnKvd+3m7hTc+\nJ+DhU9TuV2nh9u3i3bbbmFqF9gP+JzbG1CTuMrfzXbmDqrrR3RQ9XSCW9XUG\nRnJ1qIp7bXWQkd2G5l9hT+6arN16csdO1pR5lueifqhNnv/YSUzJh2M7+Zx5\nGqAH4EI9a2r20W5GQmhjpyS0SmdC2nN87wSpm1ZmGDgjaGeyuUs/lw97Amb6\n9QThbiPASsg1FcuPAWfumV7BRADk3Oeca5VKLb2wK1Mi3AOcvyRcP/V5etpg\nWHSE\r\n=eIHu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP8xRrw0PpcKQ8N9xSP6zCezTfqRmSxUuJ46EUoW1oGAIhAO+0MPIxk+lhrfa5GV9yOUJxnJhjAiUsQ9m3E7B0KUys"}]},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_6.0.1_1584801100645_0.9266187851194636"},"_hasShrinkwrap":false},"6.1.0":{"name":"exiting","version":"6.1.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"types":"lib/index.d.ts","author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^8.0.1","@hapi/hapi":"^20.2.1","@hapi/lab":"^24.5.1","@types/hapi__hapi":"^20.0.10","typescript":"^4.5.5"},"dependencies":{"@hapi/bounce":"^2.0.0","@hapi/hoek":"^9.0.2"},"peerDependencies":{"@hapi/hapi":">=17.9.0"},"engines":{"node":">=12.13.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","gitHead":"e61c116bfafd07513ab6419ed923884dfccd055b","_id":"exiting@6.1.0","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-BZjiof55/K1hrj9P5wM+AihAjqAgIXV1E+mGB+Mu86M97r1GJdSBihYBqNKkwkbe1MBg/lC4fdmel3bCLYzymA==","shasum":"eaf43eab4509ea20ac630742e953d16b7f4408f9","tarball":"https://registry.npmjs.org/exiting/-/exiting-6.1.0.tgz","fileCount":6,"unpackedSize":17251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiApMrCRA9TVsSAnZWagAAwSIQAIe+9e781cJCjLlltL6C\n/nccjESnRx7t07mbroTeYS2ZLyjCX5zeIhMBlDs3XaEvCZDwrusx4AvkISJs\nyCVd1d0BYdSZ9y4shrxUnaDXjl+dewtI1wXhNJjoObmD6MHF0754FMJn4JGu\nh5GX8J7Hi7P7f45o4uMJIk2XNirJFz0WMAMn1y3nLbWRUXFVrbxeRLuRKnNj\n77HVu/KO4NalgePatqWk1QZEkm36Tv4dTl+iEPqqbmiX/MxADG6iKbzwf9tx\nudzUfot/cV7+k8EttUSSb4hgFFptu5DgORI2zzSNzfyjZqFi3cQnrQsKZY1b\njipWxiQfZhXOWSyakbi8tvwFrjNRUUtotHWWQpmgW2GH1ajcbtYjALIX7qmM\nGF2vyiPuZMdjvVertAx6XxI/pZHYcb0dv3kR6osZBXD8mbM1uY0rW+rqX7EH\nPkEwhEFkAC4HXWTGHuErKo9QHrqUmCxW/O2PobpIGvQKqYWfOP+kOXSxML4j\nE9MxH+OmZ5kxU6auuHrGc9YxkjbYtRtf2r78zuIQAI76anPmYNLpldeagW/W\nvHt3O9aJDWIWHiLEFzw8HtEqfAMoImlJgDVlGUk3n8UdTUpMwqHnSSSi8OWo\nJMhO0EE7mJoNPuiBLsxHyLjKyifPqL+gSNca044fppPT+O6YMOdbH6ZHNNF7\npkpd\r\n=Fqef\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTLBi8fp5KXDBN7E7N4CbRJ16Ut/3DBpfUP3nXCUx94AiBVgHigAOfvs9PjzKFLWzl+n/dFX3FmXh/9d2yFZgWJJg=="}]},"_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"directories":{},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_6.1.0_1644335914954_0.6601989880270858"},"_hasShrinkwrap":false},"7.0.0":{"name":"exiting","version":"7.0.0","description":"Gracefully stop hapi.js servers","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -t 100 -L -Y","test-cov-html":"lab -a @hapi/code -r html -o coverage.html"},"types":"lib/index.d.ts","author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"license":"BSD-2-Clause","devDependencies":{"@hapi/code":"^9.0.3","@hapi/hapi":"^21.3.6","@hapi/lab":"^25.2.0","@types/node":"^18.19.24","joi":"^17.12.2","typescript":"~5.4.2"},"dependencies":{"@hapi/bounce":"^3.0.1","@hapi/hoek":"^11.0.4"},"peerDependencies":{"@hapi/hapi":">=21.0.0"},"engines":{"node":">=18.12.0"},"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"homepage":"https://github.com/kanongil/exiting#readme","_id":"exiting@7.0.0","gitHead":"46073098e49868e5c0459f75bdf42cd4af780c38","_nodeVersion":"21.5.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Ysx5tGu1Rbbjg/Oiu5w6y36elIkSUf7rsuiSDyRAfh23fEgrATSqFvQRbsyrJ0uUjRgUIGH4I/hl4XuOjqaqjA==","shasum":"4505275d2f5e6313533730ceceb7b0905ec2fbd6","tarball":"https://registry.npmjs.org/exiting/-/exiting-7.0.0.tgz","fileCount":6,"unpackedSize":17321,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2d0LDmwX0Aa6UACmjLMHwm/dGSt9UIr0EhUAdSPy9nAIgEPPwHY0EygVfeN17BLRxNAtUSLzwR1b+Y/GWXESUWzA="}]},"_npmUser":{"name":"kanongil","email":"gpdev@gpost.dk"},"directories":{},"maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/exiting_7.0.0_1710541013184_0.6172526423375133"},"_hasShrinkwrap":false}},"readme":"# Exiting\n\nSafely shutdown [hapi.js](http://hapijs.com/) servers whenever the process exits.\n\n[![Node.js CI](https://github.com/kanongil/exiting/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/kanongil/exiting/actions/workflows/ci.yaml)\n\n## Details\n\nWhile it is simple to start and stop a server, ensuring proper shutdown on external, or internal,\ntriggers can be cumbersome to handle properly.\n**exiting** makes this easy by managing your Hapi servers, taking care of starting and stopping \nthem as appropriate.\n\nDepending on the exit trigger, the hapi servers will either be gracefully stopped or aborted (by only\ntriggering `onPreStop` hooks).\nThe exit triggers are handled as detailed:\n\n * Graceful exit with code `0`:\n   * `process.exit()` with exit code `0`.\n   * Unhandled `SIGINT` kill signal, through eg. `ctrl-c`.\n   * Unhandled `SIGTERM` kill signal.\n   * Unhandled `SIGQUIT` kill signal.\n * Aborted exit:\n   * `process.exit()` with non-zero exit code.\n   * Unhandled `SIGHUP` kill signal (code `1`).\n   * Any uncaught exception (code `1`).\n   * Any unhandled rejection (code `1`).\n   * Any closed connection listeners, eg. on worker disconnect (code `255`).\n\nIf shutting down one of the servers is too slow, a timeout will eventually trigger an exit (exit code `255`).\n\nThe shutdown logic is programmed to handle almost any conceivable exit condition, and provides\n100% test coverage.\nThe only instances that `onPreHook` code is not called, are uncatchable signals, like `SIGKILL`,\nand fatal errors that trigger during shutdown.\n\n## Example\n\nBasic server example:\n\n```js\nconst Hapi = require('hapi');\nconst Exiting = require('exiting');\n\nconst server = Hapi.Server();\nconst manager = Exiting.createManager(server);\n\nserver.events.on('stop', () => {\n\n    console.log('Server stopped.');\n});\n\nconst provision = async () => {\n\n    server.route({\n        method: 'GET',\n        path: '/',\n        handler: () => 'Hello' \n    });\n\n    await manager.start();\n\n    console.log('Server started at:', server.info.uri);\n};\n\nprovision();\n```\n\nThe server and process life-cycle will now be managed by **exiting**.\n\nIf you need to delay the shutdown for processing, you can install an extention function on the\n`onPreStop` or `onPostStop` extension points, eg:\n\n```js\nserver.ext('onPreStop', () => {\n\n    return new Promise((resolve) => {\n\n        setTimeout(resolve, 1000);\n    });\n});\n```\n\nMultiple servers example:\n\n```js\nconst Hapi = require('hapi');\nconst Exiting = require('exiting');\n\nconst publicServer = Hapi.Server();\nconst adminServer = Hapi.Server();\nconst manager = Exiting.createManager([publicServer, adminServer]);\n\nconst provision = async () => {\n\n    publicServer.route({\n        method: 'GET',\n        path: '/',\n        handler: () => 'Hello'\n    });\n\n    adminServer.route({\n        method: 'GET',\n        path: '/',\n        handler: () => 'Hello Admin'\n    });\n\n    await manager.start();\n\n    console.log('Public server started at:', publicServer.info.uri);\n    console.log('Admin server started at:', adminServer.info.uri);\n};\n\nprovision();\n```\n\n## Installation\n\nInstall using npm: `npm install exiting`.\n\n## Usage\n\nTo enable **exiting** for you server, replace the call to `server.start()` with\n`Exiting.createManager(server).start()`.\n\n### Exiting.createManager(servers, [options])\n\nCreate a new exit manager for one or more hapi.js servers. The `options` object supports:\n\n * `exitTimeout` - When exiting, force process exit after this amount of ms has elapsed. Default: `5000`.\n\n### await manager.start()\n\nStarts the manager and all the managed servers, as if `server.start()` is called on each server.\nIf any server fails to start, all will be stopped with `server.stop()` before the error is re-thrown.\n\nNote that `process.exit()` is monkey patched to intercept such calls.\nStarting also installs the signal handlers and an `uncaughtException` handler.\n\n### await manager.stop([options])\n\nStops the manager and all the servers, as if `server.stop()` is called on each server.\n\n## Notes on process.exit()\n\nThe `process.exit()` method is handled in a special manner that allows the asyncronous stop\nlogic to resolve before actually exiting. Since this can be called from anywhere in the code,\nand subsequent code is never expected to be executed, the manager will throw an\n`Exiting.ProcessExitError` to attempt to escape the current execution context. This allows\nsomething like the following to still exit:\n\n```js\nwhile (true) {\n    process.exit(1);\n}\n```\n\nThis might not always work, and can potentially cause a lock up instead of exiting.\nEg. with this code:\n\n```js\ntry {\n    process.exit(1);\n}\ncatch (err) {\n    /* do nothing */\n}\nwhile (true) {}\n```\n\nYou should avoid using `process.exit()` in your own code, and call `manager.stop()` instead.\n","maintainers":[{"name":"kanongil","email":"gpdev@gpost.dk"}],"time":{"modified":"2024-03-15T22:16:53.839Z","created":"2015-08-31T11:54:57.666Z","1.0.0":"2015-08-31T11:54:57.666Z","1.0.1":"2015-10-22T13:20:05.806Z","2.0.0":"2016-08-10T10:15:03.393Z","2.0.1":"2016-08-10T10:26:46.275Z","3.0.0":"2017-11-04T21:58:25.890Z","4.0.0":"2017-12-08T13:55:22.479Z","4.0.1":"2018-12-31T13:50:14.123Z","4.1.0":"2019-04-25T13:26:26.118Z","5.0.0":"2019-10-25T09:35:09.390Z","6.0.0":"2020-01-15T09:58:34.861Z","6.0.1":"2020-03-21T14:31:40.770Z","6.1.0":"2022-02-08T15:58:35.149Z","7.0.0":"2024-03-15T22:16:53.400Z"},"homepage":"https://github.com/kanongil/exiting#readme","keywords":["hapi","manager","stop","start","process","exit","signal","exception","shutdown"],"repository":{"type":"git","url":"git+https://github.com/kanongil/exiting.git"},"author":{"name":"Gil Pedersen","email":"gpdev@gpost.dk"},"bugs":{"url":"https://github.com/kanongil/exiting/issues"},"license":"BSD-2-Clause","readmeFilename":"README.md"}