lib/base.js
function Repository(options) {
  options = options || {};
  this.repositoryType = (typeof(options.type) === 'string') ? options.type : null;

  EventEmitter.call(this);
}
function Repository(options) {
  options = options || {};
  this.repositoryType = (typeof(options.type) === 'string') ? options.type : null;

  EventEmitter.call(this);
}
function Repository ( options ) { options = options || { } ; this . repositoryType = ( typeof ( options . type ) === 'string' ) ? options . type : null ; EventEmitter . call ( this ) ; }
Repository constructor
@param {Object} options The options can have information like host, port, etc. [optional]
Repository constructor