1.0.0 • Published 9 years ago

node-controller-loader v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

node-controller-loader

Loops through controllers in a given directory and sets them up for use in your web framework.

Installing it

npm install node-controller-loader --save

Using it

var controllerLoader = require('node-controller-loader');

var app = new ExpressApplicationOrSimilar();

controllerLoader.load(app, __dirname + '/controllers', function(){
    app.createServer();
});