dropbox-client

Dropbox API v2 client for JavaScript

Downloads
32
Stars
17

dropbox-client Travis npm package

dropbox-client is a client for the Dropbox API v2.

Installation

Using npm:

$ npm install --save dropbox-client

dropbox-client requires you to bring your own global fetch function. isomorphic-fetch is a great polyfill.

Then, use as you would anything else:

// using ES6 modules
import { getFile } from 'dropbox-client'

// using CommonJS modules
var getFile = require('dropbox-client').getFile

The UMD build is also available on unpkg:

<script src="https://unpkg.com/dropbox-client/umd/dropbox-client.min.js"></script>

You can find the library on window.DropboxClient.