servatron
Version:
Create a handler that can server static files using the NodeJS http/http2 modules, or use the inbuilt cli server to quickly run a web server.
65 lines (64 loc) • 1.43 kB
JSON
{
"name": "servatron",
"type": "module",
"version": "2.9.0",
"description": "Create a handler that can server static files using the NodeJS http/http2 modules, or use the inbuilt cli server to quickly run a web server.",
"main": "http2.js",
"bin": {
"servatron": "bin/cli.js"
},
"scripts": {
"prepare": "npm run build",
"build": "tsc",
"docs": "typedoc src",
"test": "c8 tsx test"
},
"keywords": [
"static",
"http",
"http2",
"https",
"serve",
"server",
"web",
"web server",
"website",
"multiplex",
"assets",
"static server"
],
"author": {
"email": "me@markwylde.com",
"name": "Mark Wylde",
"url": "https://github.com/markwylde"
},
"license": "MIT",
"dependencies": {
"mime": "^4.0.7",
"minimatch": "^10.0.1",
"minimist": "^1.2.8"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^22.15.18",
"axios": "^1.9.0",
"basictap": "^4.3.5",
"c8": "^10.1.3",
"ejs": "^3.1.10",
"fetch-h2": "^3.0.2",
"tsx": "^4.19.4",
"typedoc": "^0.28.4",
"typescript": "^5.8.3"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/markwylde/servatron.git"
},
"bugs": {
"url": "https://github.com/markwylde/servatron/issues"
},
"homepage": "https://github.com/markwylde/servatron#readme"
}