UNPKG

express-negotiator

Version:

Express/connect middleware that does HTTP content negotiation for static files

49 lines (48 loc) 987 B
{ "name": "express-negotiator", "description": "Express/connect middleware that does HTTP content negotiation for static files", "author": "Andreas Lind Petersen <andreas@one.com>", "keywords": [ "http", "content negotiation", "connect", "accept", "accept-language", "cookie", "express", "localization", "l10n", "internationalization", "i18n", "locale", "content-type", "content type", "html", "static", "extension", "mime" ], "version": "1.1.0", "engines": { "node": "*" }, "dependencies": { "async": "0.2.8", "mario": "1.8.0", "memoizeasync": "0.9.0", "memoizesync": "0.5.0", "mime": "1.2.7", "passerror": "0.0.1", "underscore": "^1.13.6" }, "devDependencies": { "express": "2.5.11", "mocha": "^10.2.0", "unexpected": "^10.26.3" }, "main": "lib/expressNegotiator.js", "scripts": { "test": "mocha -R spec", "travis": "npm test" } }