The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production. This project is semantically versioned and available as part of the Tidelift Subscription for professional-grade assurances, enhanced support and security. The maintainers of formidable and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the Open Source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Of course, with Koa v1, v2 or future v3 the things are very similar. You can use formidable manually as or through the koa-better-body package which is using formidable under the hood and support more features and different request bodies, check its documentation for more info.
Features
- Fast (~900-2500 mb/sec) & streaming multipart parser
- Automatically writing file uploads to disk
- Plugins API, allowing custom parsers and plugins
- Low memory footprint
- Graceful error handling
- Very high test coverage