0.3.0 • Published 10 years ago
externalized-config v0.3.0
Externalized Config
A module for loading externalized configuration files in a Node.js process.
This module will attempt to load a JSON configuration file in the following manner.
- Look for an environment variable in the format "{{appname}}_CONFIG"
- Look for the existence of a file at the location "$HOME/.config/{{appname}}.json"
- Look for a process augment "--config"
This module will provide options to override the pre-defined formats and locations listed above.