Skip to content
A purely in-memory PouchDB, as a custom build
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

pouchdb-memory

A purely in-memory PouchDB, as a custom build. Useful for things like quick unit tests, where you don't want to write any data to disk.

Install

npm install pouchdb-memory

Usage

var PouchDB = require('pouchdb-memory');
var db = new PouchDB('mydb');

Description

This build combines the following plugins:

  • pouchdb-adapter-memory
  • pouchdb-adapter-http
  • pouchdb-mapreduce
  • pouchdb-replication
  • pouchdb-find

Feel free to add additional plugins on top of it, or just build your own – the source code is tiny!

You can’t perform that action at this time.