Routing manager for Swint web server
Warning: This is not the final draft yet, so do not use this until its official version is launched
$ npm install --save swint-router
dir
:String
, default:path.join(path.dirname(require.main.filename), 'router')
var myRouter = new swintRouter({
dir: path.join(__dirname, 'router')
});
myRouter.load(myMiddleware); // An instance of require('swint-middleware').loader({})