mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 04:34:01 +00:00
There is not much benefit to this (except saving a few HTTP requests) but if we do this we'll see if anyone's firewalls are blocking WS or something. Then one day in the future we can switch to plain WebSockets instead of socket.io to shed 20KB once the Transloadit backend supports it. |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/transloadit
The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Uppy = require('@uppy/core')
const Transloadit = require('@uppy/transloadit')
const uppy = Uppy()
uppy.use(Transloadit, {
// Plugins
})
Installation
$ npm install @uppy/transloadit --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.