@sme-uploader/xhr-upload

Plain and simple classic HTML multipart form uploads with SME Uploader, as well as uploads using the HTTP PUT method.

Usage no npm install needed!

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

README

@sme-uploader/xhr-upload

SME Uploader logo Build Status

The XHRUpload plugin handles classic XHR uploads with SME Uploader. If you have an exiting Apache/Nginx/Node or whatever backend, this is probably the SME Uploader plugin you are looking for.

Example

const SmeUploader = require('@sme-uploader/core')
const XHRUpload = require('@sme-uploader/xhr-upload')

const uploader = new SmeUploader()
uploader.use(SmeUploader, {
  // Options
})

Installation

$ npm install @sme-uploader/xhr-upload

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.