An adapter to use
dropboxDOWN
with pouchDB in the browser.
npm install pouchdb-browser pouchdb-adapter-dropboxdown dropboxdown
var PouchDB = require('pouchdb-browser')
PouchDB.plugin(require('pouchdb-adapter-dropboxdown'))
var db = new PouchDB('mydb', {
adapter: 'dropboxdown',
root: '<root folder>',
accessToken: '<dropbox access token>',
})
db.put('foo', 'bar')
MIT © 2018-present Practical Porpoise.