UNPKG

express-allow-methods

Version:

Express middleware for sending HTTP 405 Method Not Allowed response

57 lines (56 loc) 1.29 kB
{ "name": "express-allow-methods", "version": "0.3.1", "description": "Express middleware for sending HTTP 405 Method Not Allowed response", "author": "Dima Parzhitsky <parzhitsky@gmail.com>", "license": "MIT", "keywords": [ "express", "middleware", "http", "response", "405", "method", "not", "allowed", "helper", "util" ], "repository": { "type": "git", "url": "git+https://github.com/parzh/express-allow-methods.git" }, "bugs": { "url": "https://github.com/parzh/express-allow-methods/issues" }, "homepage": "https://github.com/parzh/express-allow-methods#readme", "files": [ "/dist", "!/dist/**/*.type.js", "!/dist/**/*.impl.d.ts", "/README.md" ], "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=0.11.8" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", "postbuild": "del-cli dist/**/*.type.js* dist/**/*.impl.d.ts", "prepublishOnly": "npm run build" }, "dependencies": { "@types/express": "4.17.11" }, "devDependencies": { "@types/node": "14.17.3", "del-cli": "3.0.1", "typescript": "4.3.2" }, "peerDependencies": { "express": ">=4", "typescript": ">=4.1" } }