{"_id":"@5app/health-check-helpers","_rev":"11-25d6cb64ec6087a0d9559ba8b18c2fd6","name":"@5app/health-check-helpers","dist-tags":{"latest":"1.4.1"},"versions":{"1.0.0":{"name":"@5app/health-check-helpers","version":"1.0.0","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.0.0","maintainers":[{"name":"charles5app","email":"charles@5app.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"adodson","email":"andrewjdodson@gmail.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"4adb73678b2b5551d58bee025ead49cd9f49ed42","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.0.0.tgz","fileCount":7,"integrity":"sha512-xjU8yJKVbspRu2SGg2/rEoq7iZvXlOihGvl6Jqv3Bwof8z8Ai0DPZR1Gx07tDTLHxo32F2JLxS5fz4+xe4Zyhg==","signatures":[{"sig":"MEUCIQC6r9sYXcIa6zdct9FLickGpkoYzMLUsKOeNwEgPLe7NQIgKI5DkB8S6nTZ2iBpIMfNquPBY4o31YZLUgb+4sTbXBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctalQCRA9TVsSAnZWagAAZPsP/0Zmu/RI4gUvyl6ClDtK\nPzuqB6rmb3ReLG92JwJRrrQDvKExidEBH+LxNsgn0i7Mk5Yu/ogEp6vhVD40\nEdEo1gVyLV/Ttjgcn7I2IDhVLBKjYI44V3lEam46lTHxwRA2MRtqNzg2UrWA\nBTF1q/k934loD8I7mpBSlkfu21Y1cAPt0XIU1chVWRzoQVVN9mtR7deXtg7K\nkzVURGVB8AwqUqKR2hpbfFE/XAcX+V10krzTIqJx5xJUJAcx+JXaAkWZlw57\nY3EpilZCnIKv6OFnlVVT3htKqofy6b9r+qMaTKxmr3XDJ4W0DxpCG0+ottqm\nQjIVppbVBC7/iJ+hM+jzJXbss6t5gA6vRyE6FZlakcSlgz4pUcensZIwhTEv\nxhEY9Jk1DsaVByoqAP9zocOK7stGuSW+ECc+1Ie+IqrGzxtuFix/+jaiK5HT\n6a7LETZxru+JduHYa35+wpEGoVH4aLjBrqBWoQDZxzdmxy1BKUOc3kZGZGWz\nZOPip49jy2lLmALCTEXzjJvJVBjLPXDKNYkfT+VxsKI2LFCc9E6eOwkTEzRx\nWcCD60XuoTT372PQiCZgNdGPsYm8AsiUUgzJUcD5NN3A1K1XKcEbdm3EaQGO\n7xrS1lT19pfOyg+QQO5uR9tbu6s4orzxrAgiv2BlxDZ+Z7NbHoYj87ozgJd5\n7OwG\r\n=M2QL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c9d1cf724341a1d07a00e0d7b32537f79ac1b7a9","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"6.4.1","description":"System health check helpers","directories":{},"_nodeVersion":"10.5.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.16.0","eslint-config-5app":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.0.0_1555409231767_0.21093447844982993","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@5app/health-check-helpers","version":"1.1.0","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.1.0","maintainers":[{"name":"5app-bot","email":"bot@5app.com"},{"name":"adodson","email":"andrewjdodson@gmail.com"},{"name":"charles5app","email":"charles@5app.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"13062f00298d90b1e67d2de69161cb31dac5badd","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.1.0.tgz","fileCount":8,"integrity":"sha512-aRcW62yNaewHfo0fxZj/fBwYO2Hi4fDJdbximm7bwRsZsOEp+tp++n/BgpN4yywLHesobnmztWNu4BiSNdIbTQ==","signatures":[{"sig":"MEYCIQCU3t2WL0vRlpbROJe0LgC+jkxdttUnYwjB+kvjPj75NAIhAJyjThAiuCiOR4onA8L8DT78In/SOHTXD6XG0R1Wzakh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcODCCRA9TVsSAnZWagAAFKEP/i179rxDooAcGkQuAEVs\naYbW+HAs/oJ6Y1jLzmhN5O6C+43MA2HLFUwxsZ8jU53lReUzQHUMBfoFsfeA\nUmV5exOfZrOjiZN6dXto/1tMoZVJcFkE01DfsIPaqr9RbIUzEkXXZmG5dGrA\naBir64Jrd/aRP33KD+EM0r0ZgMOXV28jr2v/ti7im39WZVtB4H1AFJrXHUb2\nY5drhNS7VPAMdh2RNuIFG9Rl2u074+ewRCl77thyDpG1tdaoD4eW+8uH0dwT\nZU29ilqf/ZN5eayx6+59wnittRwqzsndjDMXYBZqIQAX+3QF3F5yQc6FWoku\nrOqtHH3qw9fsSh+FzIrrUWjFvYq2ncsGHunr+uikb16FRU2KfsJTsE4BSiNA\nbEf+FrtQFlowu5sTwZcmHt4zdMwA8cYbvX1+AlavAA19o/xaGzmso/lC+K6o\nAFb4TgRzHqksbdQ7d83ouSUQDoyVRmQ0oPF4pRfpMlVjpywsZxVi+r7JiT9X\nJIFAImr0mgh0JyVh55C4HvBLKwB3ET+9cncQkfLVSwRddCaFX85qSmeEsUuQ\nh/55iCGn0tDMW461Ujuh3yixX17LXKOOCXoWf4fu1GQIKR/n7cSrR0iYBf72\nMjhIpFF4PoXB6SUJfgHAieY3zG85qREW1hRfJFVhrnxqouDFzaKKD5MUb2Wd\n5but\r\n=JoUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e7f51a0c827a791848967086e7f512abb0c75d1c","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"6.4.1","description":"System health check helpers","directories":{},"_nodeVersion":"8.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.16.0","eslint-config-5app":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.1.0_1567678657892_0.03932507593017309","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@5app/health-check-helpers","version":"1.2.0","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.2.0","maintainers":[{"name":"5app-bot","email":"bot@5app.com"},{"name":"adodson","email":"andrewjdodson@gmail.com"},{"name":"charles5app","email":"charles@5app.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"c8b1a582058209c28c6236ce4a8867000bd35aab","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.2.0.tgz","fileCount":12,"integrity":"sha512-jiiD1lHMHQ7bq0j17zEJuO3bT7LE7iz7PNtpabrav3i2ic24FkycSdDHdzrxiOJXTb/b7WZVIrbU0NGd655ArA==","signatures":[{"sig":"MEUCIQDeZuixUIAcrTDnOAclZ90VmbfeRDfhnH3rIOlNtnMFNAIgX9md8n/2OjUUkcdgRFDWb+o7oyZQBloeject7V6i9aE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6UlZCRA9TVsSAnZWagAABQEP/iZLDZLigciO+DI07zlp\nFBQMEH0pdVap0i+rJNjLfbqFbfs8TL495euM3z7yhhEceIOUIjBpiTDl7BxW\n2Zu/gZ+TRObxwjmWOZ08+SxY6Um9Qz2cLod1vosvfwuRGGx0/24vqOkIJaSA\nbF0dy5THvztmqzzKzIdWnRY6sYl7XMa8InG478IGjuRQShbGghT28wGiLhP9\n68uonXWKA86jvUPNQj0nMJnVqfzuBQA3c4jDAJrvgHbf/7mLjM1qIyyD1Jcr\nnYPzjdelErLwOAdCBp4shPjZOnwBtAXR9j6d2sGyRUvfs0bv3kNU1eCoFuKE\nLc/QS6HZW+SagbhU9aqIh/YxLFsg4WosH0hP4O0eIN3KREC+Oi24ffb8xtbI\nfcPY2fFHKabUnzR6Fwr9h+2IgGMTjY8Rm6lpaLsG1gYew68PMfOnN2flVQ+P\nCG50pfIoO0r87nGRxutswWLt6m8kMe4eTpaT0xGLksIPkAMNviGdTB79fZUM\nZLi++8a9/EJ7G0V5pNQqyYkEa7ZwIzIz1ljNVQhUD78NpTdizs02jb6sBMPG\nNotNKY4ofkIlFwU3WHeqVy+CT3OnB1HSS4OrZpXUz626LCNZ/u0jseNHvw1E\nTYShfmMLMvVlX8T5/hGOw3niFY5tHufU6wxj5+3Y54Bf2r+thxo48ft4k1lv\nP+DF\r\n=tSJY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"gitHead":"62892530b51a41f7784ddc4ab33bd20898ab4b01","release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"],"prepare":["@semantic-release/changelog","@semantic-release/npm",{"path":"@semantic-release/git","assets":["package.json","package-lock.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}]},"scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","semantic-release":"semantic-release"},"_npmUser":{"name":"5app-bot","email":"bot@5app.com"},"commitlint":{"rules":{"subject-case":[2,"never",["start-case","pascal-case"]]},"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"6.13.2","description":"System health check helpers","directories":{},"lint-staged":{"*.js":"eslint"},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^3.1.0","eslint":"^6.7.2","lint-staged":"^9.5.0","@commitlint/cli":"^8.2.0","semantic-release":"^15.13.31","eslint-config-5app":"^0.8.0","@semantic-release/git":"^7.0.18","eslint-plugin-promise":"^4.2.1","eslint-plugin-security":"^1.4.0","@semantic-release/changelog":"^3.0.6","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.2.0_1575569751102_0.11319712206698229","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@5app/health-check-helpers","version":"1.3.0","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.3.0","maintainers":[{"name":"5app-bot","email":"bot@5app.com"},{"name":"adodson","email":"andrewjdodson@gmail.com"},{"name":"charles5app","email":"charles@5app.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"f885525530dd5df4ae7faf0df4914b7c7f2aa250","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.3.0.tgz","fileCount":12,"integrity":"sha512-9z8kfBC9Ry222i0FG5sitpt+S94Ugv77LbVevvIJKEIG5U838Z2TAPJHq7eW6Vg6EjXqWsc1xT+zi2qCX7mIkw==","signatures":[{"sig":"MEQCIA+kCttfUIRZgLNnn+4jcr+ClpSTGwIsaG0iII0yQ5bAAiBicXGluEAajAPCJYMthTfv7X7hiTwESt5eicuToxF8WA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGhcfCRA9TVsSAnZWagAAAHQP/3sYCjYbDnIFU6mnjdAI\nWOm3HC+PHJlAcITPQC+zvOd6UYnx7frp81sJIlsiBvt5w4YKTLHcwVnqMCGw\n1jbwkprv//pS+tyHQSjGV3T/jOXiTmKnP2E1Gw43YjUagvDfVjgqu+EJNccd\nesKUjDJ8JN3cG9z+BHhPhaZBK03wtYT3bdk4njksym75fPkqve03yLw0Ba9j\nE18T9piggrXCjbmlA5dIzgZAL3AvTKGxjsqX3GXEN/J2SKXVeaW4oNNIeCYZ\nwB5JWbSc1KsFJTIjCOV4jg4nFSwpKQCtVzfxbuKUAC4RLexyZUBj3gXj+Trf\nZfrGFZBzFPclkOw7vffk8Bre4TbUL/B65yKD9pnCnzgfBdUEUlBk+jGPOEs1\nJDAIS/g0o7FiNPUDWtjKcWLzIqK/OCw43P4Epe2nSkQEDaplpLYAd6GjSs0J\nM4IiffIJJrIVQOZ4mxuewTAexBgOFaFEVc5jHgreWjAXOdv3+IzBJloIPXpV\nb3SrvDOcpe1l4/LD7XUtuL9SBJ1pfymyJU3addAlYEJdHq7sw436wwYpFTUU\nh5Ly15ZRVMaWUTN0xTUQ893ZZOWUPc6St5gYPozindCCOUMzRXZ2VcVnC9HZ\niOmtjv1Zt61cxBPWIxrUmq834+18729uFInsEWPouk/STHjGvJe54E69XYJM\nz6Vl\r\n=TyFp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"gitHead":"20d5f798c990fd084b564166d66c4f815d841a1e","release":{"branch":"master","plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"],"prepare":["@semantic-release/changelog","@semantic-release/npm",{"path":"@semantic-release/git","assets":["package.json","package-lock.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}]},"scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","semantic-release":"semantic-release"},"_npmUser":{"name":"5app-bot","email":"bot@5app.com"},"commitlint":{"rules":{"subject-case":[2,"never",["start-case","pascal-case"]]},"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"6.13.2","description":"System health check helpers","directories":{},"lint-staged":{"*.js":"eslint"},"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^3.1.0","eslint":"^6.7.2","lint-staged":"^9.5.0","@commitlint/cli":"^8.2.0","semantic-release":"^15.13.31","eslint-config-5app":"^0.8.0","@semantic-release/git":"^7.0.18","eslint-plugin-promise":"^4.2.1","eslint-plugin-security":"^1.4.0","@semantic-release/changelog":"^3.0.6","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.3.0_1578768158858_0.1561241185441875","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@5app/health-check-helpers","version":"1.4.0","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.4.0","maintainers":[{"name":"adodson","email":"andrewjdodson@gmail.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},{"name":"5app-bot","email":"bot@5app.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"099576d0f3e917b315a1fc3b06842c7d447d0bef","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.4.0.tgz","fileCount":9,"integrity":"sha512-okkStUv0jWeWmGSd53g1urmgZHLqeYXQVKqkEoVoiJ+nHcrVVEg1E/zumV0PC4p38Lsw02+z7NB0Sl4SpN/V3Q==","signatures":[{"sig":"MEYCIQDjfUw27YJhvpu3iC4UQVr4mfJaUZNeLMlnvwZfkvlstQIhAIpOUraYOblc7Iw0UKA1SFDV07Vbk7kBIlCdi8xYYhUI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11404},"main":"index.js","type":"module","gitHead":"17bbd986702856edb2cc3dad5722044e992cf817","release":{"extends":"@5app/semantic-release-config"},"scripts":{"lint":"eslint .","test":"npm run lint","prepare":"is-ci || husky install"},"_npmUser":{"name":"5app-bot","email":"bot@5app.com"},"prettier":"@5app/prettier-config","commitlint":{"rules":{"subject-case":[2,"never",["start-case","pascal-case"]]},"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"9.8.0","description":"System health check helpers","directories":{},"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.3","is-ci":"^3.0.1","eslint":"^8.44.0","prettier":"^3.0.0","lint-staged":"^13.2.3","pretty-quick":"^3.1.3","@commitlint/cli":"^17.6.6","semantic-release":"^21.0.7","eslint-config-5app":"^0.19.1","@5app/prettier-config":"^1.0.4","@semantic-release/git":"^10.0.1","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-security":"^1.7.1","@semantic-release/changelog":"^6.0.3","@5app/semantic-release-config":"^1.1.0","@commitlint/config-conventional":"^17.6.6"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.4.0_1688995503033_0.14787705115312644","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@5app/health-check-helpers","version":"1.4.1","keywords":["health","helpers","check"],"author":{"name":"5app"},"license":"MIT","_id":"@5app/health-check-helpers@1.4.1","maintainers":[{"name":"adodson","email":"andrewjdodson@gmail.com"},{"name":"diondiondion","email":"diondiondion@gmail.com"},{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},{"name":"5app-bot","email":"bot@5app.com"}],"homepage":"https://github.com/5app/health-check-helpers#readme","bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"dist":{"shasum":"9cba985667a750826a30b18c3150572c7bdaa403","tarball":"https://registry.npmjs.org/@5app/health-check-helpers/-/health-check-helpers-1.4.1.tgz","fileCount":9,"integrity":"sha512-blLbvbXmrrDrOqmnXufkxyAdhhJkH5UclmLp6jvvP4dowZDKm8SroKls6snmQ7BnPgHBc3ta1TnJjXhxQfY1GQ==","signatures":[{"sig":"MEQCIDrcb/WyqVz/GU65aSQJyflFviq7f+hFqUcXilzdgcZvAiBDq5JqjSgD4wZU8TavaZbM6ldeUUzGvvvkUi0mFz9ABQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11416},"main":"index.js","type":"module","gitHead":"739ef43e021059da17359a48bebe3e8b924551ba","release":{"extends":"@5app/semantic-release-config"},"scripts":{"lint":"eslint .","test":"npm run lint","prepare":"is-ci || husky install"},"_npmUser":{"name":"5app-bot","email":"bot@5app.com"},"prettier":"@5app/prettier-config","commitlint":{"rules":{"subject-case":[2,"never",["start-case","pascal-case"]]},"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"_npmVersion":"9.8.0","description":"System health check helpers","directories":{},"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.3","is-ci":"^3.0.1","eslint":"^8.44.0","prettier":"^3.0.0","lint-staged":"^13.2.3","pretty-quick":"^3.1.3","@commitlint/cli":"^17.6.6","semantic-release":"^21.0.7","eslint-config-5app":"^0.19.1","@5app/prettier-config":"^1.0.4","@semantic-release/git":"^10.0.1","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-security":"^1.7.1","@semantic-release/changelog":"^6.0.3","@5app/semantic-release-config":"^1.1.0","@commitlint/config-conventional":"^17.6.6"},"_npmOperationalInternal":{"tmp":"tmp/health-check-helpers_1.4.1_1689254866474_0.41475876990709803","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-16T10:07:11.585Z","modified":"2026-03-09T12:23:17.815Z","1.0.0":"2019-04-16T10:07:11.869Z","1.1.0":"2019-09-05T10:17:38.030Z","1.2.0":"2019-12-05T18:15:51.261Z","1.3.0":"2020-01-11T18:42:39.059Z","1.4.0":"2023-07-10T13:25:03.249Z","1.4.1":"2023-07-13T13:27:46.631Z"},"bugs":{"url":"https://github.com/5app/health-check-helpers/issues"},"author":{"name":"5app"},"license":"MIT","homepage":"https://github.com/5app/health-check-helpers#readme","keywords":["health","helpers","check"],"repository":{"url":"git+https://github.com/5app/health-check-helpers.git","type":"git"},"description":"System health check helpers","maintainers":[{"email":"andrewjdodson@gmail.com","name":"adodson"},{"email":"bot@5app.com","name":"5app-bot"},{"email":"sarah@5app.com","name":"shoub"},{"email":"webmaster@5app.com","name":"5app-webmaster"},{"email":"robert.dexter@5app.com","name":"robert.dexter"},{"email":"rob@5app.com","name":"rob-mackenzie"}],"readme":"# health-check-helpers\n\n> A set of functions to help determine if a service is healthy or not\n\n## Usage\n\n```sh\nnpm install --save @5app/health-check-helpers\n```\n\nThen, in your application, you can import and use any number of helpers:\n\n```javascript\nconst {kueStats} = require('@5app/health-check-helpers');\nconst queueInstance = require('./queueInstance'); // your Kue instance\n\nasync function serviceHealth() {\n\ttry {\n\t\tconst {completeCount, failedCount} = await kueStats(queueInstance);\n\n\t\treturn {\n\t\t\thealthy: true,\n\t\t\tkue: {\n\t\t\t\tcompleteCount,\n\t\t\t\tfailedCount,\n\t\t\t},\n\t\t};\n\t} catch (error) {\n\t\treturn {\n\t\t\thealthy: false,\n\t\t\tkue: {\n\t\t\t\terror: error.message,\n\t\t\t},\n\t\t};\n\t}\n}\n```\n\n## Motivation\n\nWe ended up duplicating the same code multiple times between microservices, so we thought why not extracting it into modules and reuse it across multiple projects.\n\n## Helpers\n\nThis package includes helpers to fetch some system basic stats (CPU, memory, pid), stats about [Kue](https://www.npmjs.com/package/kue), and [MySQL](https://www.npmjs.com/package/mysql2) (work in progress).\n\n### kueStats\n\nProvide basic stats about Kue.\nThis is the equivalent of the `/stats` endpoint of Kue REST API.\n\nExample:\n\n```javascript\n{\n\tcompleteCount: 42,\n\tfailedCount: 1,\n\tinactiveCount: 0,\n\tactiveCount: 0,\n\tdelayedCount: 0\n}\n```\n\n### processMetadata\n\nInformation about the current process and platform:\n\nExample:\n\n```javascript\n{\n  platform:{\n      type: 'linux',\n      freeMemory: '324.320 MB',\n      totalMemory: '5957.363 MB',\n      startedOn: new Date('2019-04-03T18:13:37.794Z')\n   },\n   process:{\n      pid: 16,\n      cpuUsage:{\n         user: 1370000,\n         system: 780000\n      },\n      startedOn: new Date('2019-04-09T14:13:53.726Z')\n   }\n}\n```\n\n### healthCheckServer\n\nCreates a basic http server to handle application health checking requirements.\nThis server needs to be started in the main thread of your application (e.g. your server) and by default it will allow checking if the process is responsive or not.\nYou can add the list of your app dependencies to this server to allow checking if these dependencies are healthy or not.\n\nExample:\n\n```javascript\nconst {healthCheckServer, bullStats} = require('@5app/health-check-helpers');\n\nhealthCheckServer({\n\tport: 8888, // this is optional and it will default to the value of the environement variable `HEALTHCHECK_PORT` if specified, otherwise it falls back to the port `9999`\n\tdependencies: [\n\t\t{\n\t\t\tname: 'bull', // dependency name\n\t\t\tcheck: () => bullStats(myQueueObject),\n\t\t},\n\t],\n});\n```\n\nThe check functions can be sync or async. They will be called by the server without parameters every time the server gets a request.\n\nNote: currently the server provides 1 endpoint (`/`) for general health status and doesn't provide special `readiness`, `liveness`, and debug endpoints.\n\n## Other tools\n\n### bin/check.js\n\nA simple script for making health check queries is available in the root of the repository.\nYou can use it from your Dockerfile to ping the instance of `healthCheckServer` using the following command:\n\n```\nHEALTHCHECK --retries=2 --interval=10s --timeout=5s --start-period=5s CMD node node_modules/@5app/health-check-helpers/bin/check.js\n```\n\nThis can replace checks that you would traditionally make with `curl`.\n\nYou can configure the script using the following environment variables:\n\n| Setting         | Environement variable | Default value                                           |\n| --------------- | --------------------- | ------------------------------------------------------- |\n| server port     | HEALTHCHECK_PORT      | 9999, the same as the default port of healthCheckServer |\n| server host     | HEALTHCHECK_HOST      | localhost                                               |\n| request timeout | HEALTHCHECK_TIMEOUT   | 50000 milliseconds                                      |\n| request path    | HEALTHCHECK_PATH      | /                                                       |\n","readmeFilename":"README.md"}