UNPKG

uppy

Version:

Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:

19 lines (15 loc) 326 B
const Uppy = require('uppy/lib/core') const Dashboard = require('uppy/lib/plugins/Dashboard') const AwsS3 = require('uppy/lib/plugins/AwsS3') const uppy = Uppy({ debug: true, autoProceed: false }) uppy.use(Dashboard, { inline: true, target: 'body' }) uppy.use(AwsS3, { host: 'http://localhost:3020' }) uppy.run()