Library for loading configuration files that you can inject environment variables in to.
This library will replace #{MY_ENVIRONMENT_VARIABLE}
with your environment variable of the same name.
All you need to do is send a file path to the load
function and it will handle everything for you.
JSON and YAML files are the only file types currently supported
var configLoader = require('node-env-config-file-loader');
var config = configLoader.load('./config.yml');