dependabot[bot] e0dbf54a4b build(deps): bump nanoid from 5.0.7 to 5.0.9 (#5544) 4 月之前
..
src 64bffd5363 export plugin options (#5433) 7 月之前
.npmignore 21e44763bf @uppy/url: migrate to TS (#4980) 1 年之前
CHANGELOG.md e07c83bebe Release: uppy@4.8.0 (#5541) 4 月之前
LICENSE ff3b8e9433 Move `Url` plugin to `@uppy/url`. 6 年之前
README.md 71a6fcd956 Fix links (#5492) 5 月之前
package.json e0dbf54a4b build(deps): bump nanoid from 5.0.7 to 5.0.9 (#5544) 4 月之前
tsconfig.build.json 8f97fd61fa cleanup tsconfig (#5520) 5 月之前
tsconfig.json 21e44763bf @uppy/url: migrate to TS (#4980) 1 年之前

README.md

@uppy/url

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!

A Companion instance is required for the Url plugin to work. Companion will download the files and upload them to their destination. This saves bandwidth for the user (especially on mobile connections) and helps avoid CORS restrictions.

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

Example

import Uppy from '@uppy/core'
import Url from '@uppy/url'

const uppy = new Uppy()
uppy.use(Url, {
  // Options
})

Installation

$ npm install @uppy/url

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