{"_id":"@clevyr/checkup-routes","_rev":"9-7551f9d5734426522ba5ab45a455529a","name":"@clevyr/checkup-routes","description":"Default health check routes for hapi microservices.","dist-tags":{"latest":"16.1.2"},"versions":{"0.1.0":{"name":"@clevyr/checkup-routes","version":"0.1.0","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"optionalDependencies":{"hapi-ms-helper":"git+ssh://git@gitlab.clevyr.com:microservices/hapi-ms-helper.git"},"gitHead":"5ae10e9aedfa2487677897efeb269a1dddb701df","dependencies":{"hapi-ms-helper":"git+ssh://git@gitlab.clevyr.com:microservices/hapi-ms-helper.git"},"_id":"@clevyr/checkup-routes@0.1.0","_shasum":"dff4b3d51c99b5a87d0afe35c6c5004391c6a7bf","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"dff4b3d51c99b5a87d0afe35c6c5004391c6a7bf","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-0.1.0.tgz","integrity":"sha512-jwTKX73Ubz0+R29hN7oL5RFHcQX8JE8ljetXEf/bqahDAs3fLwbRFPpcepD8X720YTfDOsSJtv1mxKtsNhJ5Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjkTVBbkE01B0XeaozYRSu7IRcf6GlWhTAsIc3P0uu6AiEAmRwhv/PPsNCtfVwXKwsnMzn6Tql/SuPp9cqRXlB+9Mo="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/checkup-routes-0.1.0.tgz_1468258525329_0.13773847627453506"}},"0.1.1":{"name":"@clevyr/checkup-routes","version":"0.1.1","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"^0.1.0"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"f703d92b328f8e8ab0d9548309ddb1e4ec1110e8","_id":"@clevyr/checkup-routes@0.1.1","_shasum":"a8e86fa8fa756755879bce56994c3cf612e31ba6","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"a8e86fa8fa756755879bce56994c3cf612e31ba6","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-0.1.1.tgz","integrity":"sha512-gea0iWxrUrhyjybd1rgOUL+7lX6839lsoz7vuQ/Hic84pfC30QF8bHH/o+9XXNyvwd74jliEwQ8LqsD8Yh0NDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQdE095BnWRxjWW8fYeXeniDwAu4kGQYUkt7kF3SY1hwIgM2H1j6sjP0WE3xsfmaHhOg8hCiegTv9rf/zlr9AThjM="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/checkup-routes-0.1.1.tgz_1468259903747_0.04361401265487075"}},"0.1.2":{"name":"@clevyr/checkup-routes","version":"0.1.2","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"^0.1.0"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"0bf70f640139f35dbf30e5f24e47c0f403856361","_id":"@clevyr/checkup-routes@0.1.2","_shasum":"3e8bf960fc3b2de8933604dffd4d6435933cffa5","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"3e8bf960fc3b2de8933604dffd4d6435933cffa5","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-0.1.2.tgz","integrity":"sha512-8aCNGLFRIQdyV6EDDYx4QTuWZkjsBUnKZZ2wC3EHfUp+XpBFDtyHpSus3mXy6cJRgNERKyIidk9+oykkhK/owg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD50sdFMg/eIAgJHoQMHDh/Rhp/ysWxlQRphczI9Ac/kAIgVvBiy/z4wOJtaCMqZdPK3X8F6CyIfaw5FS899kjsbLg="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/checkup-routes-0.1.2.tgz_1468263470162_0.34240768174640834"}},"0.1.3":{"name":"@clevyr/checkup-routes","version":"0.1.3","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"^0.1.0"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"4bfe2e922b9017fa2d501af2c60f1b1cc419b57e","_id":"@clevyr/checkup-routes@0.1.3","_shasum":"d137bd2d1abef0df15c8d9ccdd42267afd617f89","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"d137bd2d1abef0df15c8d9ccdd42267afd617f89","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-0.1.3.tgz","integrity":"sha512-sCTCQH3YFLLRxtEfPR0rCev6j2uEy3DtxTW2OWHkhOBgEikUkMMndyKYTDYFT4hEEeXj6P4cP+8RBWjzXbpVDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcc/RaHiiaF0AOGuYRdh/kmcwlrqNRofOSB35JaHfIPAIgU8pj7SSF8hRynxbpfRU4TnOdiez5mDydR09lGGBH2ok="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/checkup-routes-0.1.3.tgz_1468337651516_0.5094054487999529"}},"16.1.0":{"name":"@clevyr/checkup-routes","version":"16.1.0","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"16.1.1"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"ae1eeb1ce4b87bb0af47537b330b107b85c32015","_id":"@clevyr/checkup-routes@16.1.0","_shasum":"5599961c03333d65057d1c74ad96c9df92749caf","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"5599961c03333d65057d1c74ad96c9df92749caf","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-16.1.0.tgz","integrity":"sha512-hlIovl7S/oeH2FScwFPgNUNAJJ2qRdiphG7mkS77N6xHUT4bJp9Ft4O/hwfUW6CE6zGUX21XV9Ws0+kMCO7U8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG13sYJtZGPPPOyXWCrIzEdle1JcKHlbzeACQyjlPNHbAiEA3/ntUjkgAuoZ4LdHPszxJl33AVxfji0ZTBj6fbiZYG8="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/checkup-routes-16.1.0.tgz_1493665905357_0.30676993541419506"}},"16.1.1":{"name":"@clevyr/checkup-routes","version":"16.1.1","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"16.1.1"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"9fb8e6562d02539d0e9c92208ad73583368f5c37","_id":"@clevyr/checkup-routes@16.1.1","_shasum":"ae2ab5fb25ee53d7e1a53d72324e4e9e7a84064d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"ae2ab5fb25ee53d7e1a53d72324e4e9e7a84064d","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-16.1.1.tgz","integrity":"sha512-aOdXGlHZ4jdVTHfp24Ww0k2PpIBEr36kTez5+fS6FoDV7qUdkNClWti4dHpsmbLu7uYyW61AQSF67RmAWltG8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUSIPLC0/QH0dU/aIBfF9ZjZ15hB9V+IiLf51623eT1QIhAI4/9bV9J6NB0IQKzjBGS/scJvdmqM2KcXojI+fUdajY"}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkup-routes-16.1.1.tgz_1503408567418_0.7706093268934637"}},"16.1.2":{"name":"@clevyr/checkup-routes","version":"16.1.2","description":"Default health check routes for hapi microservices.","main":"dist/index.js","scripts":{"build":"npm run compile && npm run copy","compile":"babel --out-dir=./dist --ignore=**/*.test.js src","compile:watch":"npm run build -- --watch","copy":"./node_modules/cpx/bin/index.js 'src/**/*.test.js' dist","copy:watch":"npm run copy -- -w","flow":"./node_modules/flow-bin/vendor/flow; test $? -eq 0 -o $? -eq 2","lint":"./node_modules/eslint/bin/eslint.js src","start":"NODE_ENV=development node src/index.js","test":"npm run build && npm run test:dist","test:dist":"NODE_ENV=testing ./node_modules/ava/cli.js -v dist/**/*.test.js"},"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"keywords":["hapi","microservices","routes"],"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","dependencies":{"@clevyr/hapi-ms-helper":"16.1.3"},"devDependencies":{"ava":"^0.15.2","babel-eslint":"^6.0.4","babel-plugin-transform-flow-strip-types":"^6.8.0","cpx":"^1.3.1","eslint":"^3.0.0","flow-bin":"^0.28.0"},"gitHead":"f24343978f8c767d08a6f26fce9859e3718cb15f","_id":"@clevyr/checkup-routes@16.1.2","_shasum":"ed8f63b9ec91f3f3b8c3579039b55bbd94fc279a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"clevyr","email":"support@clevyr.com"},"dist":{"shasum":"ed8f63b9ec91f3f3b8c3579039b55bbd94fc279a","tarball":"https://registry.npmjs.org/@clevyr/checkup-routes/-/checkup-routes-16.1.2.tgz","integrity":"sha512-8DW4NFdrhT+k4O3F1z2AzLV9U7pOu/7pPtXNubAa9nBwTL2lz4mOOix64k6ZR+WH9k5jLJAgByoOEkxRCYKKPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5FRrlfK/9ZhX+SOlnc2Use1TLNaE1PTifSDCWl+1abAIgfIULJkIK3zMclnEJYfvW7CVLzSZj9502G2uwXeVP9ks="}]},"maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkup-routes-16.1.2.tgz_1509554021489_0.7264326722361147"}}},"readme":"Checkup Routes Hapi Plugin\n==========================\n\nDefault health check routes for hapi microservices.\n\n* Dependency Injection compatible (and required!).\n* Flow strictly typed.\n* Includes Unit and Integration tests.\n* Exports as a Hapi Plugin Factory.\n\nInstallation\n------------\n```\nnpm install\n```\n\nUsage\n-----\n```\nnpm install --save-optional git+ssh://git@gitlab.clevyr.com:microservices/checkup-routes.git\n```\n\nFirst add the module to your DI Container.\n\n```\n// di.js (Or your dependency injection definition file)\n\n// ... represents more code that isn't included here.\n\n// Automatically registers checkModel, checkRoute, and checkupPluginRoutes with the diContainer.\nconst checkupRoutesPluginFactory = require('checkup-routes')(diContainer);\n\n...\n\ndiContainer.register('checkupRoutesPlugin', checkupRoutesPluginFactory);\n```\n\nThen inject the plugin and register it with Hapi.\n```\n// server.js (Or your hapi server setup file)\n\n// ... represents more code that isn't included here.\n\nmodule.export = function serverFactory(...checkupRoutesPlugin...) {\n  ...\n\n  server.register([...checkupRoutesPlugin...], ...\n\n  ...\n};\n\nmodule.exports.$inject = [...'checkupRoutesPlugin'...];\n```\n\nTests\n-----\nThe tests use the ava framework.\n```\nnpm test\n```\n\nLinters\n-------\nLint config files included at root of project:\n* .eslintrc, .eslintignore\n* .jscsrc\n\n```\n// ESLint\nnpm install -g eslint\n\neslint src\n - or -\nnpm run lint\n```\n\n```\n// JSCS\nnpm install -g jscs\njscs src\n```\n","maintainers":[{"name":"clevyr","email":"support@clevyr.com"}],"time":{"modified":"2022-06-12T16:05:38.736Z","created":"2016-07-11T17:35:27.696Z","0.1.0":"2016-07-11T17:35:27.696Z","0.1.1":"2016-07-11T17:58:25.375Z","0.1.2":"2016-07-11T18:57:51.806Z","0.1.3":"2016-07-12T15:34:13.245Z","16.1.0":"2017-05-01T19:11:47.064Z","16.1.1":"2017-08-22T13:29:28.411Z","16.1.2":"2017-11-01T16:33:42.385Z"},"keywords":["hapi","microservices","routes"],"repository":{"type":"git","url":"git@gitlab.clevyr.com:microservices/checkup-routes.git"},"author":{"name":"Jon White","email":"jon.white@clevyr.com"},"license":"ISC","readmeFilename":"README.md"}