|
6 лет назад | |
---|---|---|
.. | ||
src | 6 лет назад | |
types | 6 лет назад | |
LICENSE | 6 лет назад | |
README.md | 6 лет назад | |
package.json | 6 лет назад |
The XHRUpload plugin handles classic XHR Uploads. If you have an exiting Apache/Nginx/Node or whatever backend, this is probably the Uppy uploader plugin you are looking for.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
const Uppy = require('@uppy/core')
const XHRUpload = require('@uppy/xhrupload')
const uppy = Uppy()
uppy.use(Uppy, {
// Options
})
$ npm install @uppy/xhrupload --save
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
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 for this plugin can be found on the Uppy website.