@sme-uploader/tus

Resumable uploads for SME Uploader using Tus.io

Usage no npm install needed!

<script type="module">
  import smeUploaderTus from 'https://cdn.skypack.dev/@sme-uploader/tus';
</script>

README

@sme-uploader/tus

SME Uploader logo Build Status

The Tus plugin brings tus.io resumable file uploading to SME Uploader by wrapping the tus-js-client.

Example

const SmeUploader = require('@sme-uploader/core');
const Tus = require('@sme-uploader/tus');

const uploader = new SmeUploader();
uploader.use(Tus, {
  endpoint: 'https://master.tus.io/files/', // use your tus endpoint here
  resume: true,
  autoRetry: true,
  retryDelays: [0, 1000, 3000, 5000]
});

Installation

$ npm install @sme-uploader/tus

We recommend installing from npm and then using a module bundler such as Parcel, Webpack or Browserify.

Alternatively, you can also use this plugin in a pre-built bundle from CDN. In that case SmeUploader will attach itself to the global window.SmeUploader object. See the main SME Uploader documentation for instructions.

Documentation

Documentation for this plugin can be found on the SME Uploader website.

License

The MIT License.