node-env-config-file-loader
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.
How do I use this?
load
function
The 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 = ;var config = configLoader;