isabella232 / pouchdb-adapter-fs

PouchDB adapter using fsdown under the hood

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pouchdb-adapter-fs

PouchDB adapter using fsdown under the hood. Designed for running a quick persistent PouchDB adapter in Node.js.

Warning: not designed for production use. fsdown contains race conditions and is most appropriate for quick debugging and testing. It does however pass the full PouchDB test suite.

Usage

Install:

npm install pouchdb-adapter-fs

Then

var PouchDB = require('pouchdb-core')
  .plugin(require('pouchdb-adapter-fs'));

var db = new PouchDB('mydb', {adapter: 'fs'});

Testing

COUCH_HOST=http://admin:secret@localhost:5984 npm test

About

PouchDB adapter using fsdown under the hood

License:Apache License 2.0


Languages

Language:JavaScript 99.9%Language:Shell 0.1%