enyo/dropzone ? reverse-engineered prompt

Reverse engineered prompt

Build me a polished JavaScript file upload library that turns any HTML element into a drag and drop dropzone.

I want users to be able to drop files onto it, see image previews, and watch clean upload progress while the files are sent with XHR. It should handle multiple files, support large uploads with chunking, and include an option for S3 multipart uploads too. Make it easy to style, so the default look is nice but can be fully overridden. Please make it work with both modern module imports and a simple script tag setup, and include TypeScript types in the package so I don’t need separate type definitions.

Also set up a simple docs site and a website that explain how to use it, with examples and the main options clearly shown. Use the current best practices and look up any recent docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab