lib/list.js
function List (name, view) {
  if (!(this instanceof List)) {
    return new List(name, view);
  }
  this.name = name;
  this.view = view;
  this.config = utils.clone(config);
  this.config.pathname += '/_list/' + this.view.name + '/' + this.name;
}
function List (name, view) {
  if (!(this instanceof List)) {
    return new List(name, view);
  }
  this.name = name;
  this.view = view;
  this.config = utils.clone(config);
  this.config.pathname += '/_list/' + this.view.name + '/' + this.name;
}
function List ( name , view ) { if ( ! ( this instanceof List ) ) { return new List ( name , view ) ; } this . name = name ; this . view = view ; this . config = utils . clone ( config ) ; this . config . pathname += '/_list/' + this . view . name + '/' + this . name ; }
List constructor. Create an instance of a list associated with a couchdb list in the npm registry.

```js
var list = new List('dependedUpon', view);
```

@param {String} `name` Name of couchdb list to use.
@param {Object} `view` Instance of a View to use with the list.
@returns {Object} instance of `List`
@api public
List constructor . Create an instance of a list associated with a couchdb list in the npm registry .