Skip to content

An adapter to use dropboxDOWN with PouchDB in the browser

License

Notifications You must be signed in to change notification settings

practicalporpoise/pouchdb-adapter-dropboxdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PouchDB Adapter DropboxDOWN

An adapter to use dropboxDOWN with pouchDB in the browser.

Extremely experimental, use at your own risk.

Usage with PouchDB in browser

Install

npm install pouchdb-browser pouchdb-adapter-dropboxdown dropboxdown

Use

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')

License

MIT © 2018-present Practical Porpoise.

About

An adapter to use dropboxDOWN with PouchDB in the browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published