UNPKG

http-version

Version:

connect/express compatible middleware for HTTP API version switching/routing

33 lines (32 loc) 693 B
{ "name": "http-version", "version": "0.1.0", "description": "connect/express compatible middleware for HTTP API version switching/routing", "repository": "h2non/http-version", "author": "Tomas Aparicio", "license": "MIT", "keywords": [ "http", "vhost", "version", "versioning", "api", "header", "middleware" ], "engines": { "node": ">= 0.10" }, "scripts": { "test": "./node_modules/.bin/mocha --timeout 2000 --reporter spec --ui tdd test/* test/*/*" }, "dependencies": { "http-accept": "^0.1.6" }, "devDependencies": { "chai": "^3.0.0", "express": "^4.13.0", "mocha": "^2.2.5", "supertest": "^1.0.1" } }