@uppy/unsplash
The Unsplash plugin lets users import files from Unsplash, the free stock photography resource.
A Companion instance is required for the Unsplash 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 Unsplash from '@uppy/unsplash'
const uppy = new Uppy()
uppy.use(Unsplash, {
})
Installation
$ npm install @uppy/unsplash --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.
2.0.1
| Package | Version | Package | Version |
|-|-|-|-|
| @uppy/angular | 0.2.1 | @uppy/react-native | 0.2.1 |
| @uppy/react | 2.0.1 | @uppy/provider-views | 2.0.1 |
| @uppy/aws-s3-multipart | 2.0.1 | @uppy/redux-dev-tools | 2.0.1 |
| @uppy/aws-s3 | 2.0.1 | @uppy/robodog | 2.0.1 |
| @uppy/box | 1.0.1 | @uppy/svelte | 1.0.1 |
| @uppy/companion | 3.0.1 | @uppy/screen-capture | 2.0.1 |
| @uppy/core | 2.0.1 | @uppy/status-bar | 2.0.1 |
| @uppy/dashboard | 2.0.1 | @uppy/svelte | 1.0.2 |
| @uppy/thumbnail-generator | 2.0.1 | @uppy/drag-drop | 2.0.1 |
| @uppy/drop-target | 1.0.1 | @uppy/transloadit | 2.0.1 |
| @uppy/dropbox | 2.0.1 | @uppy/tus | 2.0.1 |
| @uppy/facebook | 2.0.1 | @uppy/unsplash | 1.0.1 |
| @uppy/file-input | 2.0.1 | @uppy/url | 2.0.1 |
| @uppy/form | 2.0.1 | @uppy/vue | 0.3.1 |
| @uppy/golden-retriever | 2.0.1 | @uppy/vue | 0.4.0 | @uppy/webcam | 2.0.1 |
| @uppy/google-drive | 2.0.1 | @uppy/xhr-upload | 2.0.1 |
| @uppy/image-editor | 1.0.1 | @uppy/onedrive | 2.0.1 |
| @uppy/informer | 2.0.1 | @uppy/zoom | 1.0.1 |
| @uppy/instagram | 2.0.1 | uppy | 2.0.1 |
| @uppy/progress-bar | 2.0.1 | - | - |
Released: 2021-08-25
- Update peerDependencies to ^2.0.0 in all uppy packages @arturi (b39824819)