JSPM

  • Created
  • Published
  • Downloads 114347
  • Score
    100M100P100Q173225F
  • License MIT

Client library for the Dropbox API

Package Exports

  • dropbox

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dropbox) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Client Library for the Dropbox API

This is a JavaScript client for the Dropbox API, suitable for use in both modern browsers and in server-side code running under node.js.

Supported Platforms

This library is tested against the following JavaScript platforms

  • node.js 0.8
  • Chrome 21
  • Firefox 15
  • Internet Explorer 9

Installation

The library can be included in client-side applications using the following HTML snippet.

<script type="text/javascript" src="http://TODO">
</script>

The library is available as an npm package, and can be installed using the following command.

npm install dropbox

If you want to build dropbox.js on your own, read the development guide.

Usage

Read the source code of the sample apps, and borrow as much as you need.

Development

The development guide will make your life easier if you need to change the source code.

Platform-Specific Issues

node.js

Reading and writing binary files is currently broken.

Internet Explorer 9

The library only works when used from https:// pages, due to these issues.

Reading and writing binary files is unsupported.

The library is Copyright (c) 2012 Dropbox Inc., and distributed under the MIT License.