index.js
function NpmApi(options) {
  if (!(this instanceof NpmApi)) {
    return new NpmApi(options);
  }
  Base.call(this, null, options);
  this.is('npmapi');

  this.use(utils.plugin());
  this.use(utils.option());

  this.define('List', List);
  this.define('View', View);
  this.define('Repo', Repo);
  this.define('Maintainer', Maintainer);

  var store = typeof this.options.store === 'undefined' ? new Memory() : this.options.store;
  this.define('store', store);
}
function NpmApi(options) {
  if (!(this instanceof NpmApi)) {
    return new NpmApi(options);
  }
  Base.call(this, null, options);
  this.is('npmapi');

  this.use(utils.plugin());
  this.use(utils.option());

  this.define('List', List);
  this.define('View', View);
  this.define('Repo', Repo);
  this.define('Maintainer', Maintainer);

  var store = typeof this.options.store === 'undefined' ? new Memory() : this.options.store;
  this.define('store', store);
}
function NpmApi ( options ) { if ( ! ( this instanceof NpmApi ) ) { return new NpmApi ( options ) ; } Base . call ( this , null , options ) ; this . is ( 'npmapi' ) ; this . use ( utils . plugin ( ) ) ; this . use ( utils . option ( ) ) ; this . define ( 'List' , List ) ; this . define ( 'View' , View ) ; this . define ( 'Repo' , Repo ) ; this . define ( 'Maintainer' , Maintainer ) ; var store = typeof this . options . store === 'undefined' ? new Memory ( ) : this . options . store ; this . define ( 'store' , store ) ; }
NpmApi constructor. Create an instance to work with maintainer and repository information.

```js
var npm = new NpmApi();
```
@api public
NpmApi constructor . Create an instance to work with maintainer and repository information .