This package has been deprecated

Author message:

Please use https://github.com/expressjs/urlrouter instead. Note that some bugfixes introduced in urlrouter may cause unexpected behavior in a few rare edge cases.

connect_router

1.8.7 • Public • Published

connect_router

Connect 1.x had this nifty little sinatra-style router accessible as connect.router. For some reason it was removed in Connect 2.x.

connect_router is the code router code from connect 1.8.6 that makes it easy to unbreak your connect apps without changing functionality.

var connect = require('connect')
  ;

connect.router = require('connect_router');

Package Sidebar

Install

npm i connect_router

Weekly Downloads

73

Version

1.8.7

License

none

Last publish

Collaborators

  • coolaj86