UNPKG

fastify-custom-healthcheck

Version:

Fastify plugin that allows to add custom health checks in your server

74 lines (73 loc) 1.67 kB
{ "name": "fastify-custom-healthcheck", "version": "4.0.0", "description": "Fastify plugin that allows to add custom health checks in your server", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "npm run lint && jest lib/**/*.js", "clean": "rm -rf /coverage", "lint": "semistandard | snazzy", "example": "node example/server.js" }, "keywords": [ "fastify", "fastify-plugin", "health", "healthchecks" ], "author": "Georgios Kampitakis", "license": "MIT", "files": [ "lib/**/*", "!lib/tests/**/*" ], "semistandard": { "env": [ "jest" ] }, "dependencies": { "fast-deep-equal": "^3.1.3", "fastify-plugin": "^5.0.1" }, "devDependencies": { "fastify": "^5.2.0", "fastify-type-provider-zod": "^4.0.2", "jest": "^29.7.0", "mongodb": "^4.7.0", "semistandard": "^17.0.0", "snazzy": "^9.0.0", "zod": "^3.24.1" }, "jest": { "collectCoverage": true, "verbose": true, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.js$", "moduleFileExtensions": [ "js" ], "collectCoverageFrom": [ "lib/src/**/*.js", "!lib/src/**/*/index.js", "!lib/src/index.js" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "bugs": { "url": "https://github.com/gkampitakis/fastify-custom-healthcheck/issues" }, "repository": { "url": "https://github.com/gkampitakis/fastify-custom-healthcheck" } }