yaml-config-node
yaml-config-node copied to clipboard
Manage your node.js app configuration based on NODE_ENV, all configuration defined in yaml
npm is showing the following warning when installed: ``` npm WARN package.json [email protected] No repository field. ``` Can you correct this? I can send a PR if make things easier.
If a user wanted to load the settings for process.env.REDIS, pass an object with a key of `key` with the value of what environmental key you would like to use....
In the yaml there's a default section. However in readConfig it defaults to development. ``` javascript if (!env) { env = process.env.NODE_ENV || 'development'; } ``` This causes the particular...
It's currently not installable via npm, without using the github url.
settings.redis.db = 10; updateConfig(settings, './config/app.yaml', 'production'); //Save 10 to redis.db of the 'production' section updateConfig({},'./config/app.yaml', 'production'); //Will remove the entire 'production' section Should Likely be updated to: var config =...
Whoops in yaml-congif.js (line 77) I left a @private in the documentation. Obviously its not private.....