PouchDB, the Node-only edition.pouchdb-node
PouchDB, the Node-only edition. A preset representing the PouchDB code that runs in Node.js, without any of the code required to run it in the browser.
pouchdb-node preset contains the version of PouchDB that is designed for
Node.js. In particular, it uses the LevelDB adapter and doesn't ship with the
IndexedDB or WebSQL adapters. It also contains the replication, HTTP, and map/reduce plugins.
Use this preset if you are only using PouchDB in Node, and not in the browser.
npm install pouchdb-node
var PouchDB = require('pouchdb-node'); var db = new PouchDB('mydb');
PouchDB and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.