index.js
function load(match) {
  match = match || this.conf.match;
  for(var z in process.env) {
    if(match instanceof RegExp) {
      if(match.test(z)) {
        this.set(z.toLowerCase(), process.env[z]);
      }
    }else{
      this.set(z.toLowerCase(), process.env[z]);
    }
  }

  // expand out camel case strings using another delimiter
  if(this.conf.expand && this.conf.expand.delimiter) {
    var o = {}, k, v, val;
    for(k in this) {
      val = this[k];
      v = delimited(k, this.conf.expand.delimiter);
      if(typeof this.conf.expand.transform === 'function') {
        v = this.conf.expand.transform(v);
      }

      this.set(v, val);
      delete this[k];
    }
  }
}
function load(match) {
  match = match || this.conf.match;
  for(var z in process.env) {
    if(match instanceof RegExp) {
      if(match.test(z)) {
        this.set(z.toLowerCase(), process.env[z]);
      }
    }else{
      this.set(z.toLowerCase(), process.env[z]);
    }
  }

  // expand out camel case strings using another delimiter
  if(this.conf.expand && this.conf.expand.delimiter) {
    var o = {}, k, v, val;
    for(k in this) {
      val = this[k];
      v = delimited(k, this.conf.expand.delimiter);
      if(typeof this.conf.expand.transform === 'function') {
        v = this.conf.expand.transform(v);
      }

      this.set(v, val);
      delete this[k];
    }
  }
}
function load ( match ) { match = match || this . conf . match ; for ( var z in process . env ) { if ( match instanceof RegExp ) { if ( match . test ( z ) ) { this . set ( z . toLowerCase ( ) , process . env [ z ] ) ; } } else { this . set ( z . toLowerCase ( ) , process . env [ z ] ) ; } } // expand out camel case strings using another delimiter if ( this . conf . expand && this . conf . expand . delimiter ) { var o = { } , k , v , val ; for ( k in this ) { val = this [ k ] ; v = delimited ( k , this . conf . expand . delimiter ) ; if ( typeof this . conf . expand . transform === 'function' ) { v = this . conf . expand . transform ( v ) ; } this . set ( v , val ) ; delete this [ k ] ; } } }
Load variables from the environment into this
instance.

@param match A regular expression test determining
which variables to load.
Load variables from the environment into this instance .