static-handler
Version:
A very simple static files handler
48 lines (47 loc) • 1.12 kB
JSON
{
"name": "static-handler",
"version": "0.5.3",
"description": "A very simple static files handler",
"main": "./cjs/index.js",
"bin": {
"static-handler": "static-handler.cjs"
},
"scripts": {
"build": "npm run mime && npm run cjs && npm run test",
"mime": "just-mime --exclude ^vnd. > esm/mime.js",
"cjs": "ascjs --no-default esm cjs",
"test": "node test/index.js"
},
"keywords": [
"static",
"handler",
"server"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"engines": {
"node": ">=16"
},
"engineStrict": true,
"devDependencies": {
"ascjs": "^6.0.3",
"just-mime": "^0.4.1"
},
"module": "./esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/static-handler.git"
},
"bugs": {
"url": "https://github.com/WebReflection/static-handler/issues"
},
"homepage": "https://github.com/WebReflection/static-handler#readme"
}