npm Install
Install MultipleUpload via npm and use it as an ES module in your bundled project.
Drag & drop files here
# Install via npm npm install multipleupload # Or via yarn yarn add multipleupload
// ES module import
import MultipleUpload from 'multipleupload';
import 'multipleupload/dist/multipleupload.css';
const uploader = new MultipleUpload(document.getElementById('myUploader'), {
uploadUrl: '/api/upload'
});
Installing from the registry
npm install multipleupload brings in the component with no runtime dependencies of its own. The package ships both a CommonJS build and an ES module, plus TypeScript declarations, so require and import both resolve without extra configuration.
The licence file, and the one that catches people
For production domains the licence sits alongside the runtime and is loaded from there. If you serve it yourself, note that most static-file servers refuse extensions they have no content type for, so .lic 404s even when the file is in the right directory — the symptom is MultipleUpload license load skipped in the console. The deployment guide has the mapping for ASP.NET Core, nginx and IIS.