rlugojr / pouchdb-memory

A purely in-memory PouchDB, as a custom build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

A purely in-memory PouchDB, as a custom build

License:Apache License 2.0


Languages

Language:JavaScript 100.0%