uppy/packages/@uppy/core
Renée Kooi 16d0d4253a
Move Plugin class to @uppy/core package.
Steps taken:

```bash
git mv src/core/Plugin.js packages/@uppy/core/src
vim packages/@uppy/core/src/index.test.js # Update require
sed -i 's/[./]*\/core\/Plugin/@uppy\/core\/lib\/Plugin/' src/**/*.js
vim test/mocks/* # manually update require() calls
vim website/src/docs/writing-plugins.md # manually update require() calls
```
2018-06-14 16:31:19 +02:00
..
src Move Plugin class to @uppy/core package. 2018-06-14 16:31:19 +02:00
types Move Core class to @uppy/core package. 2018-06-14 16:31:19 +02:00
LICENSE Move Core class to @uppy/core package. 2018-06-14 16:31:19 +02:00
package.json Move Plugin class to @uppy/core package. 2018-06-14 16:31:19 +02:00
README.md Move Core class to @uppy/core package. 2018-06-14 16:31:19 +02:00

@uppy/core

Uppy logo: a superman puppy in a pink suit

Build Status

Uppy is a sleek, modular JavaScript file uploader that integrates seamlessly with any application. Its fast, easy to use and lets you worry about more important problems than building a file uploader.

  • Fetch files from local disk, remote urls, Google Drive, Dropbox, Instagram, or snap and record selfies with a camera;
  • Preview and edit metadata with a nice interface;
  • Upload to the final destination, optionally process/encode

Read the docs | Try Uppy

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

const Uppy = require('@uppy/core')

const uppy = Uppy({ autoProceed: false })
uppy.use(SomePlugin)

Installation

$ npm install @uppy/core --save

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.