Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pouchdb-memory with all npm packages installed. Try it out:

var pouchdbMemory = require("pouchdb-memory")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pouchdb-memory v6.0.0

A purely in-memory PouchDB, as a custom build

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!

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free