lib/kissmetrics.js
function alias_kissmetrics_client(person, aliases, callback) {
  
  var aliases = (Array.isArray(aliases) ? aliases : [aliases])
    , that    = this
    ;

  async.forEach(
      
      aliases
    
    , function(alias, callback) {
        
        var query_params  = {}
          ;
        
        query_params['_p'] = person;
        query_params['_n'] = alias;
        
        that.request('/a', query_params, callback);
        
      }
    
    , callback
    
  );
  
}
function alias_kissmetrics_client(person, aliases, callback) {
  
  var aliases = (Array.isArray(aliases) ? aliases : [aliases])
    , that    = this
    ;

  async.forEach(
      
      aliases
    
    , function(alias, callback) {
        
        var query_params  = {}
          ;
        
        query_params['_p'] = person;
        query_params['_n'] = alias;
        
        that.request('/a', query_params, callback);
        
      }
    
    , callback
    
  );
  
}
****************************************************************************
Aliases the user identified by `person` with `aliases`.

@param person {String} The identity of the person.

This is limited to 255 chars and all commas (,), and colons (:) will
automatically be changed to spaces (KISSmetrics will convert foo:bar,baz to
foo bar baz).

@param alias | aliases {String|Array} The alias to apply to the person.

This is limited to 255 chars and all commas (,), and colons (:) will
automatically be changed to spaces (KISSmetrics will convert foo:bar,baz to
foo bar baz).

Can either be a string or an array of string if multiple alias are supplied.

@param callback {Function} A callback of the form `function(err)`.