anyfs-dropbox-adapter

0.1.1 • Public • Published

anyfs-dropbox-adapter

npm npm Travis npm

Dropbox adapter for AnyFS

Usage

var AnyFS = require('anyfs');
var Adapter = require('anyfs-dropbox-adapter');
var adapter = new Adapter({
    key: "appkey",
    secret: "secret",
    token: "token"
});
 
var fs = new AnyFS(adapter);
 
fs.list('/dir', function(err, list) {
    console.log(list);
});

Test

Create .secret.json with credentials of your dropbox account:

{
    "key": "appkey",
    "secret": "appsecret",
    "token": "token"
}

Then run:

npm install
npm test

Package Sidebar

Install

npm i anyfs-dropbox-adapter

Weekly Downloads

13

Version

0.1.1

License

MIT

Last publish

Collaborators

  • dong