FileDrop.js 2
Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.
No-build verifiedDormant0 dependenciesScript tagUnlicense
Facts
| Size | 17.9 KB minified, 6.6 KB gzipped (filedrop.js) |
|---|---|
| Licence | Unlicense |
| Dependencies | none |
| Last release | v2.1.0, April 2023 |
| Last activity | 2023-04-17 (Dormant) |
| Stars | 265 on GitHub |
| Formats | classic script (global fd;FileDrop) |
| CDN hits | 216 a month on jsDelivr |
| npm downloads | 557 a month |
| Gates | G1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v2.1.0 in headless Chromium, 2026-10-30 |
Load it
Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/filedrop.js"
integrity="sha384-q6ePP8e3crRFMYyVlA+lBfNuByueG1nWki1XxudtoeyFEf8Wi1rGgGXOCWAp3ff5" crossorigin="anonymous"></script>Advertisement
Related libraries
- DragSelect An easy JavaScript library for selecting and moving elements. With no dependencies. Drag-Select & Drag-And-Drop. – Examples:
- Croppr.js A vanilla JavaScript image cropper that's lightweight, awesome, and has absolutely zero dependencies.
- PulltoRefresh.js A quick and powerful plugin for your pull-to-refresh needs in your webapp.
Entry 12 in the directory. Facts refreshed monthly; last run 2026-10-30.