Retrieve configuration value.
Configuration value key
Create a new configuration instance, which will include loading and parsing the configuration
from process.env.
Configuration schema that will be used for parsing process.env
Generated using TypeDoc
This will load, parse, validate and hold your applications configuration. Use the static
createaccessor to create a new configuration.const config = Config.create({ serviceEnabled: { type: Boolean, description: 'Determine whether service is enabled', default: true, env: 'ENABLED' }, serviceUrl: { type: String, description: 'Public service url for accessing data', nullable: true, }, })