lib/startApplication.js
function fetchFromConfig(appName, config, toFetch) {
    let lowerCase = toFetch.toLowerCase();

    return config.nconf.get(appName + '_' + toFetch) || config.nconf.get(toFetch) || config.nconf.get(lowerCase);
}
function fetchFromConfig(appName, config, toFetch) {
    let lowerCase = toFetch.toLowerCase();

    return config.nconf.get(appName + '_' + toFetch) || config.nconf.get(toFetch) || config.nconf.get(lowerCase);
}
function fetchFromConfig ( appName , config , toFetch ) { let lowerCase = toFetch . toLowerCase ( ) ; return config . nconf . get ( appName + '_' + toFetch ) || config . nconf . get ( toFetch ) || config . nconf . get ( lowerCase ) ; }
Attempts to fetch a value out of the config file by first looking for the property's name in
camelCase proceeded by an underscore, then looking for the name in camelCase, then in lowercase.

@param {String} appName - The app name.
@param {Object} config - The app specific config from the config store.
@param {String} toFetch - The property you want to fetch from the config.

@returns {String|Boolean} The configuration property you requested if found, otherwise false.
Attempts to fetch a value out of the config file by first looking for the property s name in camelCase proceeded by an underscore then looking for the name in camelCase then in lowercase .