Simple File Uploader
Simple File Uploader is a single/multiple and high customizable file uploader and the most important is very easy to implement.
This is basically the same file upload utility as https://github.com/angular-ui/ui-uploader, but without the AngularJS dependency.
- Upload multiple or single files
- Cancel or remove upload when you want.
- Allows concurrent Upload
- Totally cutomizable
Compatibility
Because this project uses FormData, it does not work on IE9 or earlier.
Install
npm install --save simple-file-uploader
Add Script
// orconst SimpleFileUploader =
Usage
// Add and/or remove files as desiredSimpleFileUploader;SimpleFileUploader;SimpleFileUploader; // Send files to serverSimpleFileUploader; // Custom headersSimpleFileUploader;
Additional Documentation
Development
The only source file is located at ./src/FileUploader.js
, and after
any changes desired you can use gulp to build.
gulp build