UNPKG

express-autoindex

Version:

express-autoindex produce a directory listing like Nginx, Apache or another, but just with express

69 lines (68 loc) 1.59 kB
{ "name": "express-autoindex", "version": "1.5.1", "description": "express-autoindex produce a directory listing like Nginx, Apache or another, but just with express", "keywords": [ "express", "autoindex", "index", "serve", "directory", "listening", "nginx", "apache", "json" ], "author": "Clément Bertrand (https://github.com/c-bertran)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/c-bertran/express-autoindex" }, "main": "dist/index.cjs.js", "module": "dist/index.es.js", "files": [ "dist" ], "types": "dist/types/src/index.d.ts", "exports": { ".": { "node": { "import": { "default": "./dist/index.es.js" }, "require": { "default": "./dist/index.cjs.js" } }, "import": "./dist/index.es.js", "require": "./dist/index.cjs.js", "types": "./dist/types/src/index.d.ts" }, "./package.json": "./package.json", "./dist/*": "./dist/*" }, "scripts": { "build": "rollup --bundleConfigAsCjs --config rollup.config.js", "dist": "npm run build && npm run publish", "lint": "eslint ./src", "watch": "rollup -w --bundleConfigAsCjs --config rollup.config.js" }, "dependencies": { "chardet": "^2.1.0", "mime": "^2.6.0" }, "devDependencies": { "@eslint/js": "^9.23.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/express": "^5.0.1", "@types/node": "^22.13.14", "eslint": "^9.23.0", "globals": "^16.0.0", "rollup": "^4.37.0", "tslib": "^2.8.1", "typescript": "^5.8.2", "typescript-eslint": "^8.28.0" } }