lorenwest/node-config — Issue #13: Expose node-configs perceived environment
Author: luuse
Created: 2012-02-22 17:55:19+00:00
State: open

I think node-config should expose it's perceived environment in some way. I'm writing a small app that needs a config set but i really don't want to set a default for it so i check if it's undefined and i want to print something helpful (like add this to one of these files).

Currently i resort to just reimplementing what you're already doing in node-config to map up which files it checks.

I think there should be methods/fields to get the deployment, and a list of config files that node-config will check for the current deployment.

Great module, thanks for all the work :)