PouchDB require() plugin
Usage
To use this plugin, include it after pouchdb.js
in your HTML page:
This plugin is also available from Bower:
bower install pouchdb-require
Or to use it in Node.js, just npm install it:
npm install pouchdb-require
And then do this:
var PouchDB = PouchDB
API
db;