function Vanity(options) {
  this.connected = false;
  if (options) {
    this.url = options.url;
    this.token = options.token;
  }
  // We emit this error when we can't make send a request, but we don't want
  // the default behavior of uncaught exception to kill Node.
  this.on("error", function() { });
}
function Vanity(options) {
  this.connected = false;
  if (options) {
    this.url = options.url;
    this.token = options.token;
  }
  
  
  this.on("error", function() { });
}
function Vanity ( options ) { this . connected = false ; if ( options ) { this . url = options . url ; this . token = options . token ; } // We emit this error when we can't make send a request, but we don't want // the default behavior of uncaught exception to kill Node. this . on ( "error" , function ( ) { } ) ; }
Constructs a new Vanity client.  Options are: url    - URL to the vanity server (e.g. "http://vanity.internal") token  - Access token
Constructs a new Vanity client . Options are : url - URL to the vanity server ( e . g . http : // vanity . internal ) token - Access token