anyfs-dropbox-adapter
v0.1.1
Published
Dropbox adapter for AnyFS
Downloads
3
Readme
anyfs-dropbox-adapter
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