0.2.0 • Published 10 years ago

moonstick-module-config-loader v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

#moonstick-module-config-loader

Codeship Status for LateRoomsGroup/moonstick-module-config-loader

Load project config quickly with out specifying crazy paths. Assumes the following directory structure by default.

/root
	/config
		dev.js
		qa.js
		prod.js

###Usage

var config = require('config-loader')();

######Optional directory

var config = require('config-loader')(process.cwd() + '/wierd/place/for/a/config');