Lazy require with filter logic


Lazy require for files.

  • Easy to mock.
  • Require only what you really have to.
  • Because I use it like everywhere and I'm too lazy to copy-paste code.
$ npm install redr
var Redr = require('redr');
var files = new Redr('/path/to/controllers/').load();
var jobsController =; // this will perform require
  • Multiple paths
  • Validators
$ npm install
$ make test

MIT License.