1.2.1 • Published 7 years ago

node-nconf-config v1.2.1

Weekly downloads
20
License
Copyright
Repository
github
Last release
7 years ago

node-nconf-config

A configured nconf instance for great application configuration.

Supported Files

defaults.json

Default JSON File. The base configuration, overridden by all of the below.

environment.json

Environment Specific JSON file. Will override anything set in defaults.json

vpn.json

VPN Specific JSON file. Will override anything set in environment.json. Only activated if the special environment variable VPN is set to true

Process Variables

Any process variable set will override anything in the specified JSON files. Process variables have a special format so given the following JSON configuration:

{
  "CONFIG": {
    "TEST": {
      "OVERRIDE": "Value"
    }
  }
}

The process variable to override the Value would be CONFIG__TEST__OVERRIDE

1.2.1

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.3

9 years ago