An
abstract-leveldown
compliant Dropbox implementation of levelDOWN.
[![level badge][level-badge]][awesome]
npm install levelup dropboxdown
var levelup = require('levelup')
var db = levelup('mydb', {
db: require('dropboxdown'),
root: '<root folder>',
accessToken: '<dropbox access token>',
})
db.put('foo', 'bar')
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')
- Iterator
- Chained Batch
MIT © 2018-present Practical Porpoise.