UNPKG

@scuba-squad/acceptable

Version:

Content negotiation middleware for Express and Restify

52 lines (51 loc) 1.22 kB
{ "name": "@scuba-squad/acceptable", "description": "Content negotiation middleware for Express and Restify", "version": "2.0.7", "public": true, "main": "index.js", "license": "MIT", "author": { "name": "Steve Winberg", "email": "stevewin21@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/scub45t3v3/acceptable" }, "keywords": [ "accept", "content", "negotiation", "middleware", "rest", "api" ], "scripts": { "build": "npm run lint", "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "npx eslint ./", "lint:fix": "npm run lint -- --fix", "pretest": "npm run build", "test": "nyc --reporter=html --reporter=text --reporter=lcov mocha test", "posttest": "mocha --reporter markdown > TEST.md", "preversion": "npm test" }, "engines": { "node": ">= 10" }, "devDependencies": { "coveralls": "^3.1.0", "eslint": "^6.7.0", "eslint-config-scuba-squad": "^2.0.3", "express": "^4.17.1", "mocha": "^8.4.0", "nyc": "^15.1.0", "unit.js": "^2.1.0" }, "dependencies": { "debug": "^4.1.1", "mime": "^2.4.6", "underscore": "^1.12.0" } }