Back to Uppy

@uppy/remote-sources

packages/@uppy/remote-sources/README.md

0.25.61.3 KB
Original Source

@uppy/remote-sources

<a href="https://www.npmjs.com/package/@uppy/remote-sources"></a>

Example

js
import Uppy from '@uppy/core'
import RemoteSources from '@uppy/remote-sources'

const uppy = new Uppy()
uppy.use(RemoteSources, {
  companionUrl: 'https://your-companion-url',
})

Installation

bash
npm install @uppy/remote-sources
# or
yarn add @uppy/remote-sources

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit’s CDN: Smart CDN. In that case Uppy.RemoteSources 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.