dropbox-client

Dropbox API client

Usage no npm install needed!

<script type="module">
  import dropboxClient from 'https://cdn.skypack.dev/dropbox-client';
</script>

README

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 npmcdn:

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

You can find the library on window.DropboxClient.