As I was trying to rewrite the file upload functionality in Busboy, I realized how events aren't a good mental model for `multipart/form-data` requests, and async iterators were (IMO) much more suitable for the task.
And so, this library was born.
API TL;DR:
- No temporary files are created, files are not loaded in memory. - No need to provide storage engines, file handlers, event listeners, etc. - The main (and only) function returns a Promise that resolves when all fields are parsed, and the first file is encountered (or the request ended). - The promise contains a populated `fields` object, and a `files` `AsyncIterator/AsyncIterable`. - Asynchronously iterate over the files using the `for-await-of` loop or using the `next()` method.
I'd appreciate for any critique and feedback on the API & the documentation :)