plainJS

Libraries / Inputs

FileDrop.js 2

Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.

No-build verifiedDormant0 dependenciesScript tagUnlicense

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size17.9 KB minified, 6.6 KB gzipped (filedrop.js)
LicenceUnlicense
Dependenciesnone
Last releasev2.1.0, April 2023
Last activity2023-04-17 (Dormant)
Stars265 on GitHub
Formatsclassic script (global fd;FileDrop)
CDN hits216 a month on jsDelivr
npm downloads557 a month
GatesG1 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.

htmlscript tag, with SRI
<script src="https://cdn.jsdelivr.net/npm/[email protected]/filedrop.js"
        integrity="sha384-q6ePP8e3crRFMYyVlA+lBfNuByueG1nWki1XxudtoeyFEf8Wi1rGgGXOCWAp3ff5" crossorigin="anonymous"></script>
Advertisement

Entry 12 in the directory. Facts refreshed monthly; last run 2026-10-30.