Skip to content
LogoLogo

Convert drops and file inputs into File objects

A tiny, zero-dependency library that turns a DragEvent, a file input, or File System Access handles into a flat list of File objects — traversing dropped folders and preserving each file's path. It's the parsing layer behind react-dropzone.

npm install file-selector