7.1.1 • Published 4 years ago

@twilson63/pouchdb-memory v7.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

pouchdb-memory

PouchDB Memory Extension

This extension creates a memory instance of pouchdb, which can be useful in dev or test environments of your application. It does not install level db so the node modules footprint is very small and does not require gcc compile step.

Usage

npm install pouchdb-memory
const PouchDB = require('pouchdb-memory')
const db = PouchDB('mymemorydb', { adapter: 'memory'})

db.info().then(res => console.log(res))