uppy/packages/@uppy/tus
github-actions[bot] e7be319547
Release: uppy@3.25.4 (#5188)
| 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)
2024-05-22 07:35:41 +00:00
..
src fixup! @uppy/tus: fix no headers passed to companion if argument is a function (#5182) 2024-05-21 16:59:34 +02:00
types Companion+client stability fixes, error handling and retry (#4734) 2023-11-02 21:31:34 +09:00
.npmignore meta: exclude tsconfig files from npm bundles (#4916) 2024-02-13 23:21:08 +01:00
CHANGELOG.md Release: uppy@3.25.4 (#5188) 2024-05-22 07:35:41 +00:00
LICENSE Move Tus plugin to @uppy/tus. 2018-06-14 16:31:19 +02:00
package.json Release: uppy@3.25.4 (#5188) 2024-05-22 07:35:41 +00:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
tsconfig.build.json @uppy/tus: migrate to TS (#4899) 2024-02-05 15:37:00 +01:00
tsconfig.json @uppy/tus: migrate to TS (#4899) 2024-02-05 15:37:00 +01:00

@uppy/tus

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