UNPKG

connect-pushstate

Version:

Connect middleware that rewrites select requests to the site root, allowing your client-side pushstate router to handle them

39 lines (38 loc) 947 B
{ "name": "connect-pushstate", "description": "Connect middleware that rewrites select requests to the site root, allowing your client-side pushstate router to handle them", "version": "1.1.0", "homepage": "https://github.com/brentertz/connect-pushstate", "author": { "name": "Brent Ertz", "email": "brent.ertz@gmail.com", "url": "http://brentertz.com" }, "license": "MIT", "repository": { "type": "git", "url": "git://github.com/brentertz/connect-pushstate.git" }, "scripts": { "test": "grunt test" }, "dependencies": {}, "devDependencies": { "chai": "^1.10.0", "connect": "^3.3.4", "grunt": "^1.0.1", "grunt-contrib-jshint": "^0.10.0", "grunt-mocha-test": "^0.12.6", "mocha": "^2.1.0", "morgan": "^1.5.1", "request": "^2.51.0", "serve-static": "^1.8.0" }, "keywords": [ "connect", "middleware", "rewrite", "pushstate", "routing" ] }