PouchDB's query()
and viewCleanup()
functions as a standalone plugin.
npm install --save pouchdb-mapreduce
var mapreduce = require('pouchdb-mapreduce');
PouchDB.plugin(mapreduce);
For full API documentation and guides on PouchDB, see PouchDB.com. For details on PouchDB sub-packages, see the Custom Builds documentation.
PouchDB and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.