@hypercliq/shutdown-cleanup
Version:
Module to handle graceful shutdowns
87 lines (86 loc) • 2.04 kB
JSON
{
"name": "@hypercliq/shutdown-cleanup",
"version": "7.0.1",
"description": "Module to handle graceful shutdowns",
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"files": [
"index.js",
"index.d.ts"
],
"engines": {
"node": ">=18"
},
"scripts": {
"test": "mocha",
"test:coverage": "c8 --reporter=html --reporter=text-summary mocha",
"lint": "eslint index.js tests/*.js",
"lint:fix": "eslint --fix index.js tests/*.js",
"format": "prettier --write .",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hypercliq/shutdown-cleanup.git"
},
"keywords": [
"graceful-shutdown",
"nodejs",
"signal-handling",
"shutdown",
"cleanup",
"error-handling",
"exit-code",
"nodejs-lts",
"phased-shutdown",
"custom-signals",
"typescript",
"esm",
"process-management",
"termination-events",
"nodejs-tools",
"server-cleanup",
"uncaught-exception",
"unhandled-rejection",
"before-exit",
"shutdown-strategy",
"modular-shutdown",
"shutdown-hooks",
"async-shutdown",
"signal-listeners",
"application-shutdown",
"nodejs-server",
"exit-strategy",
"shutdown-tasks",
"lifecycle-management",
"process-exit"
],
"author": "Hypercliq",
"license": "MIT",
"bugs": {
"url": "https://github.com/hypercliq/shutdown-cleanup/issues"
},
"homepage": "https://hypercliq.github.io/shutdown-cleanup",
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@eslint/js": "^9.20.0",
"@types/node": "^22.13.2",
"c8": "^10.1.3",
"chai": "^5.1.2",
"eslint": "^9.20.1",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-unicorn": "^56.0.1",
"globals": "^15.15.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"mocha": "^11.1.0",
"prettier": "^3.5.0"
},
"mocha": {
"spec": "tests/*.test.js"
}
}