1.0.4 • Published 9 years ago

incept v1.0.4

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

Incept

Incept is an initializer helper.

Usage

Locate your initializers in the lib/initializers folder. Given an initializer at lib/initializers/routes.js, then to call the initializer:

var initialize = require('incept');

initialize('routes');

The initializer should export a function:

module.exports = function(apps, options) {
  // Do something with apps and options
};

To pass arguments to the initializer:

initialize('routes', apps, options);
1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago