Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Dispatcher for Railway-routes and Chungking controllers. (use with Express or Connect and Node.js)
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

Set route handler for railway-routes generated routes and Chungking controllers.

Install

npm install daobao;

Usage

var controllers = require('../controllers')
  , handler = require('daobao').assignHandler(controllers)
  , map = new require('railway-routes').Map(app, handler);
Something went wrong with that request. Please try again.