Skip to content

AnyDropFolder upload for the browser

Drag and drop folders, chunked and resumable uploads, pause and resume, and recovery from a bad connection. A JavaScript and TypeScript library that works on phones.

npm
npm install @vedratech/anydrop-ui @vedratech/anydrop-core
CDN (pin the minor version)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@vedratech/anydrop-ui@0.1/dist/style.css" />
<script src="https://cdn.jsdelivr.net/npm/@vedratech/anydrop-ui@0.1"></script>

AnyDrop is a JavaScript folder upload library: users can drag and drop whole folders or pick them, and your page uploads them with chunked, resumable uploads, pause and resume, retry and a persistent error list. It is configured with plain options and events. There is no server to install: your backend implements a small HTTP contract.

AnyDrop ships two packages, with wrappers for React and Next.js and Angular on top: @vedratech/anydrop-core, the headless engine with no dependencies, and @vedratech/anydrop-ui, the drop zone, folder tree and mobile layout on top of it. Download size, measured the same way for every library: AnyDrop ui + core 34.7 kB gzip, FilePond 40.5 kB, Uppy with Dashboard 78.4 kB.

Use cases ​

Released under the MIT License.