{"_id":"@diegoh/koa-healthcheck-routers","_rev":"6-2fecaa0ad51d1c828dab3d2ddddddf7a","name":"@diegoh/koa-healthcheck-routers","dist-tags":{"latest":"4.0.1"},"versions":{"3.0.2":{"name":"@diegoh/koa-healthcheck-routers","version":"3.0.2","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^8.0.8","axios":"^0.19.2","http-status-codes":"^1.4.0","koa":"^2.11.0"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.0.3","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.2.2","@types/jest":"^25.2.1","@types/koa":"^2.11.3","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.2","@types/node":"^13.13.5","@types/supertest":"^2.0.9","eslint":"^6.8.0","husky":"^4.2.5","jest":"^25.5.4","nock":"^12.0.3","nodemon":"^2.0.3","prettier":"^2.0.5","source-map-support":"^0.5.19","supertest":"^4.0.2","testdouble":"^3.13.1","ts-jest":"^25.5.0","ts-node":"^8.10.1","ts-node-dev":"^1.0.0-pre.44","typescript":"^3.8.3"},"gitHead":"177e478a1a2dead3e62dc16e1fd883711264224f","_id":"@diegoh/koa-healthcheck-routers@3.0.2","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ljtL8ugupzBZxZlGUIv7HSSSZyJYevZMjLVrIXZLjUjk83pbaMnmadbq043B7wM8FrSPWZorxqlo9iR6qDB6Wg==","shasum":"7afe8bd8cfc0cbf08343a88fc542cbe0c552d786","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-3.0.2.tgz","fileCount":59,"unpackedSize":29426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetVgBCRA9TVsSAnZWagAAIWoP/10cbJJIHg7uIej+6z1P\nU+qfZkIW3AKs9xz9soeACLnM1KgX39jYYOvjnatWRPzVIBBtGXJ0dx6BKLPJ\nFZSZs7dq4PPBTy31qW7jIo8RLrlpmD75tpTHNz9ILhJ47tooPIebs0ulF4FH\npFj06JsDTydcy3ETTi6gYYU19uGDxL9PqMDuQKMrsvvUarg0M4WKBNRq5ChN\n7SujWkYClwh2fJwyrAfOsu7fwQeZw5cuDr/DSqDyd666XOLcZFRlts5F3XwW\namFVTtCsCr6aj30aAX8Ce4gYPIK4sew5WbIfNzY4xH1LfBj03m8bStTO/dCN\nteHXJyldFXvyqqPHwzbYAi/H+ZSMrF2YKSWlVjlCpcE+ZNo9+c2Bn4c2lYxv\nPyXK2LdPZsu5izsFIUzyxEbs/D2PDDhcMlbh65BggEPmqiBt11P0GrZOLJ+3\nEIkzK270lOWWG27//FHP0YPHUMENcI5z4SYLcrtUQkbC0ZrVr2PUu3mDqKJk\ndZLRP7DQ6ILpdAfCLVwA2V692B9BdmYBwd7zB7l7HsM3kf0bfEtct++3LmBm\nRqnZC0DUh0/CFT2Zb86VbaquG2wDhx93gWmbaMDH7ASfqXssaErtON5c0sUj\nzRMCJHWn9N6QUXVJ8Nd6LY+ida7UU9JX65O6gueLPjke1kphxRV5J1txvKR1\np/hP\r\n=U8N+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvFB9IijyFPWaDzoEUJWQZZAPpEkMsiNjXiDp8NeRahgIgDugzFyNiKrxu3kYRxzqarD5/2ae64gRZ7GUU+bEjzHE="}]},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_3.0.2_1588942848767_0.5276618374527551"},"_hasShrinkwrap":false},"3.1.0":{"name":"@diegoh/koa-healthcheck-routers","version":"3.1.0","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^8.0.8","axios":"^0.19.2","http-status-codes":"^1.4.0","koa":"^2.11.0"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.0.3","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.2.2","@types/jest":"^25.2.1","@types/koa":"^2.11.3","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.2","@types/node":"^13.13.5","@types/supertest":"^2.0.9","eslint":"^6.8.0","husky":"^4.2.5","jest":"^25.5.4","nock":"^12.0.3","nodemon":"^2.0.3","prettier":"^2.0.5","source-map-support":"^0.5.19","supertest":"^4.0.2","testdouble":"^3.13.1","ts-jest":"^25.5.0","ts-node":"^8.10.1","ts-node-dev":"^1.0.0-pre.44","typescript":"^3.8.3"},"gitHead":"9845ef55ad9f49baaf6d41cdadea8fe9ef712cb2","_id":"@diegoh/koa-healthcheck-routers@3.1.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-SCs0RCYwHiyt9CZw5ru+fm8rY/OQgXiGLSCduGE8iw67J/jzqZWrlp6FriV5VJaa2myFCgw48JV6aSoDENvA1g==","shasum":"f3f6321d4e6e182d503d60d8bf707d5ea9a9dd5b","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-3.1.0.tgz","fileCount":59,"unpackedSize":29426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetWFBCRA9TVsSAnZWagAAfmgP/RRMFDD7CEsN/U/MuyVT\nsxxioPL1QQ2+u1/tAOv3QjG933BEg+a3vcLtkjtGxCQd5DqLk4SN82WC5lYb\ny7y6BUO0VUbSy4OXEcaEvE/S3/B8VdRzCPkZJWW00CUns7jBCDCibxxaf/d9\nqarv/M0Qya2FwQApvewB5z1GnrAlCEQvdzarVd2536h3apjoO4ST7R2rWTFN\n0/+ot+47SNj09eCcHqpLoAbJybiXwGF8d6qeTINM5r6VpKaw7wWj8yCECITe\nR3B1oqUBzjv2u0qxLYJud76usVZ7TTk6xIE0G+Y+qiat5xqBdMw0dtILgyqF\nj1a8cTWu+NC0eVBYk9mx928qmcxjt7bCL64L4Z5BOpGOs1hNk1zPZFa5Lzgh\nWVgz28J8fxTog947RBHIBmpEOYOsTYMi1xxi7M3rEh4OR6BPmkwIiXhP7Vag\nIuq8G4nq6M/89UTBSR4/CtucjvlrNqg4bPSQFDJiZB/19GJpWOWlGgxGp4cJ\n/nS/eZttL0OmIARfq6+WUfpko68ej8IHEuS7S2zs6RLx7nplZA+NqrPQ/TzB\nwTstWLrdqsNfk1RORXWdxjJANGkwUhlNcIxtYTJf+5ys4QJzpnPrFvlhVF2O\nbPYiFfl4ZDxiHW98WB95IV9mxR5mSEa1zVMFeYC3XBd5bqJ5Ro6WTTpZDz3n\nunfH\r\n=yq9C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGELaBjWHM4FvZhvMmzzblLJ6dmYXVZTKiVeewF25kSAiEAj0kmKLk8ppVPgUGFRJ0fhJzz9fe8HG5kM6v5KbGIovQ="}]},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_3.1.0_1588945217537_0.3711736233477567"},"_hasShrinkwrap":false},"3.1.1":{"name":"@diegoh/koa-healthcheck-routers","version":"3.1.1","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^8.0.8","axios":"^0.19.2","http-status-codes":"^1.4.0","koa":"^2.11.0"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.1.0","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.2.2","@types/jest":"^25.2.1","@types/koa":"^2.11.3","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.2","@types/node":"^13.13.5","@types/supertest":"^2.0.9","eslint":"^6.8.0","husky":"^4.2.5","jest":"^25.5.4","nock":"^12.0.3","nodemon":"^2.0.3","prettier":"^2.0.5","source-map-support":"^0.5.19","supertest":"^4.0.2","testdouble":"^3.13.1","ts-jest":"^25.5.0","ts-node":"^8.10.1","ts-node-dev":"^1.0.0-pre.44","typescript":"^3.8.3"},"gitHead":"2411fe36feba32ae3e944195b35716325a735d3b","_id":"@diegoh/koa-healthcheck-routers@3.1.1","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-7HOolKT1Htri9WRny7/sAm5VluIgOpC3Bv7xLslJK8yItdp5HS0sYbAdoS7v6SCZwOF9I4mv3wTUigSiVK5x/A==","shasum":"ceaa1966bd2baedb145695344c9819bcc080d47b","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-3.1.1.tgz","fileCount":61,"unpackedSize":28960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetWdiCRA9TVsSAnZWagAAhnoP/iJK1iGztVlYvp4fqeZS\nMLIubIkTQ+71M54FZgqjpkwcplL6Qg1/yo8cXb1zkurlTzhq/FyjtBmNaAIQ\nggpZHfaZcuYs3/n8DhSzU1rCK/9q2vLQ24iXWFYTjtrZbP3+fiVEWKiBt+em\nAjWJHNh8/5J7WWOjfGi0Rn6uvizEIksYvD9AtNBm8xSlcYEIs+Iqs08PMTba\nCAePjBEu8P2P5e8fyqnA44q489spkkhtzi86k2ILkRBVE3FyAf1e21ZJ1U21\nEfMBdZ4za+kQNpNhr0a3oSWHGbQA4mErhY76VKogNKiPsUZUpHwkOF2BDI2u\n+7v5Et10R7OZgPC2w3RWX/0dVcqdORCNCLLa91be92cKKGmRLMGD1SsSVun0\n9KA0W9EP0m6jXtvQ49o65zs1w8s2VLiFGY/D6AKLmuXfVik/+0CNVfOf0A+o\nAbqA5JDNEsTQbHwDGN6NDTiQNj+CYqr2lThYVAgjUoZMIjuwIRqof2Min3Wd\niEakT1GlNBTuYzouIfbrdzuOAf9nuw468F28yfGOracEYcJgv5COj5nfovhd\nKMGPEye04NNlKwpnMPBzUjVlMVRSNLfDbUi8srLn0ZgddSomwmP/i4SnJN/6\nyy1Qo9zaDii8ddGwtm0yz/6ocFn7Fz+APoX5dZ79iVSeh8cLIqQPHfjuUvIe\nXkHZ\r\n=scYU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5d3l17PJ9KAPCsCUgRkBV0J7y/iDVncKWH2p4UKalPAiA8/eql2MsneN9Ko9okjPS40UGiNnOgrIvoTPIvo4xV/A=="}]},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_3.1.1_1588946786439_0.8691357745297985"},"_hasShrinkwrap":false},"3.1.3":{"name":"@diegoh/koa-healthcheck-routers","version":"3.1.3","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^8.0.8","axios":"^0.19.2","http-status-codes":"^1.4.0","koa":"^2.13.0"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.1.1","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.2.3","@types/jest":"^25.2.3","@types/koa":"^2.11.3","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.2","@types/node":"^13.13.12","@types/supertest":"^2.0.10","eslint":"^6.8.0","husky":"^4.2.5","jest":"^25.5.4","nock":"^12.0.3","prettier":"^2.0.5","source-map-support":"^0.5.19","supertest":"^4.0.2","testdouble":"^3.16.0","ts-jest":"^25.5.1","ts-node":"^8.10.2","ts-node-dev":"^1.0.0-pre.50","typescript":"^3.9.6"},"gitHead":"8d0d9c38b48bf5bace7d6003fb45997584630d68","_id":"@diegoh/koa-healthcheck-routers@3.1.3","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/yOay1wdO7wITT0S7j1cSY+bLwxZh76tjvLdPc7UFt4ZWiugLKqYV1PPaSg49Uagej371BNd9VsQQMnm63UFyw==","shasum":"33f4a2c11030fc66dc62ba9129eaf2a0a297df9b","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-3.1.3.tgz","fileCount":62,"unpackedSize":30940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/1HFCRA9TVsSAnZWagAA9GIP/0BwiUigd0uSlsnJGjfp\nnbTCI9DtsukqGZH89Y6ck5DlRaIkXY9WayP7E7BriUIDkTBvRngpKY/ox1qh\nXvdHf2bs+87QFgG8ABCntm9qROn5WelTytQB9UXwfCV+eNwmz1pJplhqpG3U\ntVfTPi6TQh4gcg3Ly2b0WHXSsnmUwCIrsMCEuszAYL0BW0DhdWP7P7VZ1d5P\n01oD8bnk//LlKBr0qduMVaNjJc3viuDJGi47MyoIrr2dAdN1C5dg4otfOu/4\nYM0a9r1f3SdMmkjiWJDcETKa+Gg0u4U7Zb2hn5TVtfFuY5AbXIeZx2GqJLAh\nI9rxj3mQwd1IoyV6faC91ilgocUdCW05FXPn6dZSQQR6sqv5RFIcJknAjR8F\neCXOiw8JHiZG++2QayMEI6jolU7esgAV7VTkqW+/bgHsb1tmImbP1RgXAMwX\n6cGTbN6+36ATA3s8auP9jX5fikexuddW44262RXDzi564rJ7r2JVCSpN8Ghf\nJio1HjWNIT20B8UlHYEMkMiV2btshQz7YwNBWGwr9hwXJwmCLBz4xtDO425d\nRW44eefkAOcm9wFwBqckAI4hpzEHD1/uCVjgv8VVs1uBNr6p7SURkxDTWd3K\nxk1KLnuYlGjeyqXw7TU0KyeZBDWfismxgSHmJQq+VIHciGs10uOWSOP4guQD\n/p1x\r\n=GoQ5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATjsiC8WRDGkLcjRRw7XmBZzNyqK7x+4YMvcYXFDjkrAiAO3WoFQjNml+KALnMQAeQ0E0ePe3GEmgzZPfCXxmGvCw=="}]},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_3.1.3_1593790917157_0.6335539966691559"},"_hasShrinkwrap":false},"4.0.0":{"name":"@diegoh/koa-healthcheck-routers","version":"4.0.0","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:coverage":"npm run test:integration -- --coverage","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^10.0.0","axios":"^0.21.1","http-status-codes":"^2.1.4","koa":"^2.13.1"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.1.1","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.3.0","@types/jest":"^26.0.20","@types/koa":"^2.11.6","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.4","@types/node":"^14.14.22","@types/supertest":"^2.0.10","eslint":"^7.18.0","husky":"^4.3.8","jest":"^26.6.3","nock":"^13.0.6","prettier":"^2.2.1","source-map-support":"^0.5.19","supertest":"^6.1.3","testdouble":"^3.16.1","ts-jest":"^26.4.4","ts-node":"^9.1.1","ts-node-dev":"^1.1.1","typescript":"^4.1.3"},"gitHead":"079eb62a0e417e7a58df96c065453c966f1219b8","_id":"@diegoh/koa-healthcheck-routers@4.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ZzAtfFll5UL78LZmW9S/HkRIIlfoCDsaxqOIPBXX4IzjcQTJhgSOIzsskT9YkMW3vzJYLTmdnBV3vzbWQkYSaw==","shasum":"7418d07a02bc2ed14cd91a2a35affa2b2f6b86f0","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-4.0.0.tgz","fileCount":39,"unpackedSize":20891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD+4rCRA9TVsSAnZWagAAUIgP/ip6U/JnISMKMucRRCqb\njHVIMykhEXDYKXkQsZq0j8CvOP9jMHueiR5EyDrdwA/j5aEiCjjniMz3BUjQ\nyQXri2PVlsWfxuEers67lUMWzG3LCjj6G4jdZw2/tvYMcY4WBanMK/utVWz6\nImSxOYt09OUp7WN9PpTQuHRP12nZFtBXIkFAQkWMeaU24TOUHjykT6dm15xX\nzY7ftt6A/2oja2NYpK8KKaLF37goegUvwoU8FnYRNPndjSRSnRiDhI3qP6eP\nr69T/A74jyqXjJ6c/Gwt2Fa6B1eywFn+JFGOyn2r6RvgdANTjS/wTe02z67Z\nHLwTfA49hoUnBYncyO+3vtHCOgGPgytGxxSjIh7y4hOqTFg5jf/pvnMu2UNT\nGgK7KAXqgNWBlHB9EYu3oETg/TqpbsQuI8EWpEQ8aK+dcoVeigxfGTZWwBqu\nYpppS8mJEzncQFY9yGfaxt6ufWKMCGV4N8R4iuzZZoYTFfetsykwjdW+Khu4\n/9TYmeAUReBSFjlf4YOxesqlzu5DXb/AW/q3AB0jBuOdW8x/eSaEkuSTIBXE\nrCSN1RbWUv7LoUzpClNDyy/r42PNyRfALWcAzRiIBn/ZTAOwIa+04U2v8XAu\nUNooCtDdl86h4zN7BtE2Gt/y9GvbYG8TtafdOsFii9UzhTiQCtx6/8+mEhYE\nv7jX\r\n=GQHW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp0DOmObyb7FeXAMzkxsRnygCIrxiI19lW8B9Gj1W7LAIhAI4sbUePgzmtsbCpsH3Ut8wD+y3O3zBbvRdDmPdjFw8H"}]},"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_4.0.0_1611656746872_0.22102407258191303"},"_hasShrinkwrap":false},"4.0.1":{"name":"@diegoh/koa-healthcheck-routers","version":"4.0.1","description":"Handler for adding a health check endpoint to an API","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@diegoh/eslint-config-prettier-typescript-node/src/prettier.js","scripts":{"test":"jest","test:unit":"NODE_ENV=test jest --testPathPattern src","test:unit:watch":"npm run test:unit -- --watch","test:coverage":"npm run test:unit -- --coverage","test:integration":"NODE_ENV=test jest --testPathPattern 'test'","test:integration:coverage":"npm run test:integration -- --coverage","test:integration:watch":"npm run test:integration -- --watch","lint":"eslint **/*.ts","lint:fix":"eslint **/*.ts --fix","prepublish":"tsc"},"repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"license":"MIT","bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","dependencies":{"@koa/router":"^10.0.0","axios":"^0.21.1","http-status-codes":"^2.1.4","koa":"^2.13.1"},"devDependencies":{"@diegoh/eslint-config-prettier-typescript-node":"^1.1.1","@diegoh/tsconfig":"^1.0.5","@shopify/jest-koa-mocks":"^2.3.0","@types/jest":"^26.0.20","@types/koa":"^2.11.6","@types/koa-bodyparser":"^4.3.0","@types/koa__router":"^8.0.4","@types/node":"^14.14.22","@types/supertest":"^2.0.10","eslint":"^7.18.0","husky":"^4.3.8","jest":"^26.6.3","nock":"^13.0.6","prettier":"^2.2.1","source-map-support":"^0.5.19","supertest":"^6.1.3","testdouble":"^3.16.1","ts-jest":"^26.4.4","ts-node":"^9.1.1","ts-node-dev":"^1.1.1","typescript":"^4.1.3"},"gitHead":"b96a254be59ea56a4e6ae651b58ee423ecb9dbd5","_id":"@diegoh/koa-healthcheck-routers@4.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-JvSXev8zW/Sy+mJxx3r3kn4ucXsHqgFYjdnD0xNBrMDeccbVH05RypVNQ3GfLzDr0jNnEQNoSUlGdRnoXmOwaA==","shasum":"2490b99d60f29431d6654030f37859c296a9c288","tarball":"https://registry.npmjs.org/@diegoh/koa-healthcheck-routers/-/koa-healthcheck-routers-4.0.1.tgz","fileCount":39,"unpackedSize":20754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD/FQCRA9TVsSAnZWagAA/o4P/Ak5aEw74dhsDqqkLdln\nH0dRkpwSSPVpjBh472WPDlil2e1jQlc5hsILFOaeAwR4rWdN11rJsgMlXzYG\nwqOzoOM5xbfKKRB4JyVrKLHsL+Rp5k9M3Juno4q5fe3/gE1GN9ozvK5ib+eV\n6vxhAfxItyfwr9ezHMeETG/z2/BPKT6VOdUSffZdMbFXVAl3VIPDnGBDrFq/\nKxRqOwvVAa9Rc+FRb6r0F/6/y/y/nDPOtV3S6xjHd6XwtoFcYj8LlVGnp30T\nEnydGgZ7qZmpaxNx1KXo7yk/aaVxSa93J46JcMULfIRFcNdPBYi2BBm5qv2e\ntM43jKHlU1zpIY0sGhdRnNOFP/GMc4T8FQ0oLmmz5AVPanaPmuoyJfzDs85z\n01vOXf7dShdZGRVbuxrZsdFaAtthOckyWJbXnwLnvD32tnmkxKuQCKsJXhLW\nCFm9ml5fRkEAsOujiz1F1bcGLmUcxt5ANEZCwvCGf3OZT9l9Mc4dykmAT38M\ndiTvrEOFlJGphZtdVdjqqqLjeM7WxKb0EMrQ17PVBcirwS9R9/eNu0vT9Ar1\n4cy0jQIkg1lJsBJkOxqDCo82lLvAun1nSNKpk5kYYzSopjWfd+aONNpfd+B6\nw8bL+fD3puFRGz2MQTfIZQzr7gtCrsFzu7Txzj9jJRJSM6IppJ1zXP4FsWjR\nkWxE\r\n=wqyl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtkdqvimrCa/y1n3in+236OmtKHM4xenxveaQQNnQ+SAiBDGsAFHphwCvVS3rjHWPwO6D6pHiWmvAX8zPbIusz7ow=="}]},"_npmUser":{"name":"diegoh","email":"diegorherrera@gmail.com"},"directories":{},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-healthcheck-routers_4.0.1_1611657551578_0.31332801776257213"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-08T13:00:48.715Z","3.0.2":"2020-05-08T13:00:48.862Z","modified":"2022-04-05T04:25:15.835Z","3.1.0":"2020-05-08T13:40:17.644Z","3.1.1":"2020-05-08T14:06:26.537Z","3.1.3":"2020-07-03T15:41:57.250Z","4.0.0":"2021-01-26T10:25:46.970Z","4.0.1":"2021-01-26T10:39:11.762Z"},"maintainers":[{"name":"diegoh","email":"diegorherrera@gmail.com"}],"description":"Handler for adding a health check endpoint to an API","homepage":"https://github.com/diegoh/koa-healthcheck-routers#readme","repository":{"type":"git","url":"git+https://github.com/diegoh/koa-healthcheck-routers.git"},"author":{"name":"Diego Herrera"},"bugs":{"url":"https://github.com/diegoh/koa-healthcheck-routers/issues"},"license":"MIT","readme":"# @diegoh/koa-healthcheck-routers\n\n![Build](https://github.com/diegoh/koa-healthcheck-routers/workflows/Build/badge.svg)\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n![Package Version](https://img.shields.io/npm/v/@diegoh/koa-healthcheck-routers)\n\nThis module exports 2 [`@koa/router`](https://github.com/koajs/router) routers.\n\n## 1. Deep Checks\n\nProvides a router with a single `GET` route (defaults to `/healthcheck`).\nRequires an array of URLs to check as configuration.\n\nIt checks each of the URLs provided. A `200 OK` response means the service can connect to all services.\n\nIf any of the services fails to respond, or returns **any status code other than `2xx`**, the response for this endpoint will be `500 Internal Server Error`.\n\nThe details of the erros can be found in the response body.\n\n## 2. Shallow Checks\n\nCheap check for the service itself, it does not check any underlying services.\nSimilarly, a `200` status code means the service is up.\n\n## Example\n\n```js\nimport * as Koa from 'koa';\n\nimport { DeepRouter, ShallowRouter } from '@diegoh/koa-healthcheck-routers';\n\nconst urls = [\n  new URL('http://localhost:11111/healthcheck'),\n  new URL('http://localhost:22222/healthcheck'),\n  new URL('http://localhost:33333/healthcheck')\n];\n\nconst app = new Koa();\nconst healthcheck = new DeepRouter(urls);\nconst heartbeat = new ShallowRouter();\n\napp.use(healthcheck.routes());\napp.use(healthcheck.allowedMethods());\napp.use(heartbeat.routes());\napp.use(heartbeat.allowedMethods());\n\napp.listen(3000);\n```\n\n## Development\n\n1. Create a new branch from `main` with a name relevant to the changes you're making. `git branch -b my-new-feature-description`\n2. Push the branch and open a Pull Request.\n3. Request a code review, make sure all tests pass.\n4. Commits will be **Squash merged** into the mainline to keep things tidy.\n\n## Testing\n\n### Unit\n\n`npm run test:unit`\n\n### Coverage\n\n`npm run test:coverage`\n\n### Integration\n\n`npm run test:integration`\n\n## Lint\n\n`npm run lint` or `npm run lint:fix`\n","readmeFilename":"README.md"}