@sme-uploader/tus
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

/@sme-uploader/tus/

    Package Sidebar

    Install

    npm i @sme-uploader/tus

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    104 kB

    Total Files

    10

    Last publish

    Collaborators

    • sme-uploader