mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
| Package | Version | Package | Version | | --------------- | ------- | --------------- | ------- | | @uppy/companion | 4.13.3 | @uppy/tus | 3.5.5 | | @uppy/svelte | 3.1.5 | uppy | 3.25.4 | - @uppy/svelte: do not attempt removing plugin before it's created (Antoine du Hamel / #5186) - docs: Update `facebook.mdx` (Evgenia Karunus) - @uppy/tus: fix no headers passed to companion if argument is a function (netdown / #5182) - @uppy/companion: fix google drive gsuite export large size (Milan Nakum / #5144) - meta: Improve provider docs: Box & Zoom (Evgenia Karunus / #5166) - meta: add MDX file to `lint-staged` list (Antoine du Hamel / #5174) - @uppy/companion: handle ws `'error'` event (Mikael Finstad / #5167) |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| .npmignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
@uppy/tus
The Tus plugin brings tus.io resumable file uploading to Uppy by wrapping the tus-js-client.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
import Uppy from '@uppy/core'
import Tus from '@uppy/tus'
const uppy = new Uppy()
uppy.use(Tus, {
endpoint: 'https://tusd.tusdemo.net/files/', // use your tus endpoint here
resume: true,
retryDelays: [0, 1000, 3000, 5000],
})
Installation
$ npm install @uppy/tus
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.