Narnia's Psychedelic Mushrooms
Miss any of our Open RFC calls?Watch the recordings here! »

express-dropbox-middleware

1.0.0 • Public • Published

Dropbox middleware for Express 4

Map an express route to a dropbox folder using your API token

Usage

var dropBoxMiddleware = require('express-dropbox-middleware');
 
var express = require('express');
var app = express();
 
app.use('/dropbox', dropBoxMiddleware({
    token: "myAPItoken"
}));
 
var server = app.listen(3100);
 

Now head to http://127.0.0.1:3100/dropbox/path/to/your/file.jpeg to open your dropbox file

Auth

Create your app from https://www.dropbox.com/developers/apps

Keywords

none

Install

npm i express-dropbox-middleware

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar