Browser File Drop Utility

JSON →
library 0.7.0 ·javascript
verified May 27, 2026

File-drops is a straightforward, in-browser utility designed to simplify handling file drop events within web applications. It abstracts away the complexities of browser drag-and-drop APIs, allowing developers to easily register a drop handler on any DOM element. When files are dropped, the utility processes them, providing an array of objects containing file `name` and `contents`. The current stable version is `0.7.0`. The package generally sees maintenance updates for dependency bumps or minor fixes, with a significant architectural shift in `v0.6.0` which transitioned it to an ES module-only distribution and introduced official TypeScript type definitions, dropping legacy UMD support. Its primary differentiator lies in its focused scope and minimal API, providing a lean solution for file input without encompassing broader UI components or file system interactions, making it highly suitable for applications requiring only direct file content access upon a user drop.

total hits 16
actors 9 distinct systems
last hit 1d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
ChatGPT-User
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇷🇺 Russia · 🇩🇪 Germany