docs: function CouchDB(config, nano) {
  	if (!config) {
  		throw new Error("Expected a CouchDB configuration");
  	}
  
  	if (!config.url) {
  		throw new Error("Expected a url in the CouchDB configuration");
  	}
  	if (!config.database) {
  		throw new Error("Expected a database name in the CouchDB configuration");
  	}
  	if (!config.design) {
  		throw new Error("Expected a design document name in the CouchDB configuration");
  	}
  	if (!config.view) {
  		throw new Error("Expected a view name in the CouchDB configuration");
  	}
  	if (!/\/$/.test(config.url)) {
  		config.url += "/";
  	}
  
  	this.url = config.url;
  	this.database = config.database;
  	this.design = config.design;
  	this.view = config.view;
  	this.name = config.name;
  	this.type = "CouchDB Provider";
  	this.config = config;
  
  	this.__nano = nano || _nano;
  	this.__provider = config.provider || this.__nano(this.url).db.use(this.database);
  }