Package detail

@astowny/uppy-url

transloadit5MIT3.6.1

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

file uploader, url, import from url, uppy

readme

@uppy/url

Uppy logo: a smiling puppy above a pink upwards arrow

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

changelog

@uppy/url

3.6.0

Released: 2024-03-27 Included in: Uppy v3.24.0

  • @uppy/url: migrate to TS (Merlijn Vos / #4980)

3.1.0

Released: 2022-10-19 Included in: Uppy v3.2.0

  • @uppy/url: refactor UrlUI (Antoine du Hamel / #4143)
  • @uppy/url: trim whitespace around user input (Andrew McIntee / #4143)

3.0.1

Released: 2022-09-25 Included in: Uppy v3.1.0

  • @uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/companion,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/redux-dev-tools,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: add missing entries to changelog for individual packages (Antoine du Hamel / #4092)

3.0.0

Released: 2022-08-22 Included in: Uppy v3.0.0

  • Switch to ESM

3.0.0-beta.2

Released: 2022-08-03 Included in: Uppy v3.0.0-beta.4

  • @uppy/url: remove private methods from public API (Antoine du Hamel / #3934)

2.2.0

Released: 2022-06-07 Included in: Uppy v2.12.0

  • @uppy/url: enable passing optional meta data to addFile (Brad Edelman / #3788)
  • @uppy/url: fix getFileNameFromUrl (Brad Edelman / #3804)

2.1.1

Released: 2022-05-30 Included in: Uppy v2.11.0

  • @uppy/angular,@uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/onedrive,@uppy/progress-bar,@uppy/react,@uppy/redux-dev-tools,@uppy/robodog,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: doc: update bundler recommendation (Antoine du Hamel / #3763)

2.1.0

Released: 2022-05-14 Included in: Uppy v2.10.0

  • @uppy/url: refactor to ESM (Antoine du Hamel / #3713)

2.0.5

Released: 2021-12-07 Included in: Uppy v2.3.0

  • @uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/google-drive,@uppy/image-editor,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/url,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Refactor locale scripts & generate types and docs (Merlijn Vos / #3276)