express-dynamic-router v0.2.7
express-dynamic-router
Dynamic routing system for express.
author : Yuki Takei(MikeTOKYO)
email : yuki@miketokyo.com
##Overseas express-dynamic-router provide you the auto routing system for express.
You don't need to write routing codes written in express docs
You only have to write easy code like bellow
##Instalation
##Usage
express/app.js
If you change routes dir, You only have to add setRoutesDir(path-your-route-dir) on method chain
##Api Reference
register
Register all routes in your routes dir except for actions which are ignored.
setRoutesDir
Set path to your routes dir (First, dynamic-router browse express/routes, if you don't use this method.)
getRoutesDir
Get your routes dir string.
index
Set index action (accessible http://your-domain.com/)
applyOnly
Register only routes which are given arguments.
■usage
ignore
Set ignore actions which you not want to register.
■usage
##Runing tests
##License MIT