destroyable-server
Version:
A tiny Node.js module to make any server force-closeable
54 lines (53 loc) • 1.14 kB
JSON
{
"name": "destroyable-server",
"version": "1.1.1",
"author": "Tim Perry <tim@httptoolkit.com>",
"description": "A tiny Node.js module to make any server force-closeable",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"index.ts"
],
"scripts": {
"prebuild": "rimraf dist/*",
"build": "tsc",
"prepack": "npm run build",
"pretest": "npm run build",
"test": "mocha -r ts-node/register 'test.ts'"
},
"engines": {
"node": ">=12.0.0"
},
"keywords": [
"server",
"close",
"destroy",
"shutdown",
"net",
"tls",
"http"
],
"licenses": [
{
"type": "Apache-2.0",
"url": "http://github.com/httptoolkit/destroyable-server/raw/main/LICENSE"
}
],
"repository": {
"type": "git",
"url": "http://github.com/httptoolkit/destroyable-server.git"
},
"dependencies": {
"@types/node": "*"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"chai": "^4.3.4",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"ts-node": "^10.2.1",
"typescript": "^4.8.4"
}
}