Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function env() {
var envConf = rcUtils.env('TCURL_');
return traverse(envConf).map(camelcaseObjectKeys);
function camelcaseObjectKeys(value) {
if (typeof value === 'object') {
this.update(camelCaseKeys(value));
}
}
}
function getEnvConf(memo, prefix) {
var envConf = rcUtils.env(prefix + '_');
return extend(memo, traverse(envConf).map(camelcaseObjectKeys));
}