UNPKG

pouchdb-mapreduce

Version:

PouchDB's map/reduce query API as a plugin.

26 lines (15 loc) 700 B
pouchdb-mapreduce ====== PouchDB's `query()` and `viewCleanup()` functions as a standalone plugin. ### Usage ```bash npm install --save pouchdb-mapreduce ``` ```js var mapreduce = require('pouchdb-mapreduce'); PouchDB.plugin(mapreduce); ``` For full API documentation and guides on PouchDB, see [PouchDB.com](http://pouchdb.com/). For details on PouchDB sub-packages, see the [Custom Builds documentation](http://pouchdb.com/custom.html). ### Source PouchDB and its sub-packages are distributed as a [monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md). For a full list of packages, see [the GitHub source](https://github.com/pouchdb/pouchdb/tree/master/packages).