Dispatcher for Railway-routes (use with Express or Connect and Node.js)
JavaScript
Latest commit 5be829c Jun 4, 2013 @olalonde bumped to 0.0.7
Permalink
Failed to load latest commit information.
lib bumped to 0.9.1 Jun 4, 2013
.gitignore Fixed bug Oct 17, 2012
LICENSE Added MIT license Oct 22, 2012
README.md Wrote short readme Oct 29, 2012
package.json bumped to 0.0.7 Jun 4, 2013

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);