index.js
function getName(key) {
  if(key == '_') return key;
  if(this.conf.transform) {
    if(typeof(this.conf.transform.name) == 'function') {
      return this.conf.transform.name.call(this, key);
    }
  }
  if(this.conf.prefix) {
    key = key.replace(this.conf.prefix + '_', '');
  }
  // guard against silly variables such as npm_config_cache____foo
  key = key.replace(
    new RegExp(this.conf.delimiter + '+', 'g'), this.conf.delimiter);

  return camelcase(key, this.conf.delimiter)
}
function getName(key) {
  if(key == '_') return key;
  if(this.conf.transform) {
    if(typeof(this.conf.transform.name) == 'function') {
      return this.conf.transform.name.call(this, key);
    }
  }
  if(this.conf.prefix) {
    key = key.replace(this.conf.prefix + '_', '');
  }
  // guard against silly variables such as npm_config_cache____foo
  key = key.replace(
    new RegExp(this.conf.delimiter + '+', 'g'), this.conf.delimiter);

  return camelcase(key, this.conf.delimiter)
}
function getName ( key ) { if ( key == '_' ) return key ; if ( this . conf . transform ) { if ( typeof ( this . conf . transform . name ) == 'function' ) { return this . conf . transform . name . call ( this , key ) ; } } if ( this . conf . prefix ) { key = key . replace ( this . conf . prefix + '_' , '' ) ; } // guard against silly variables such as npm_config_cache____foo key = key . replace ( new RegExp ( this . conf . delimiter + '+' , 'g' ) , this . conf . delimiter ) ; return camelcase ( key , this . conf . delimiter ) }
Convert a key into a property name.

@param key The property key.

@return A camel case property name.
Convert a key into a property name .