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.
formdata-polyfill is used by node-fetch as a way to serialize FormData to multipart payloads and it follows the spec to 100% and runs all test agains WPT. (the same serializer is also used by deno and undici)
I thought you would be interested in using it (as discussed earlier)
maybe also for your test cases
so i updated multipart-parser.js in the example dir to construct a multipart payload (with files) with FormData instead of hand crafting a payload
formdata-polyfill is used by node-fetch as a way to serialize FormData to multipart payloads and it follows the spec to 100% and runs all test agains WPT. (the same serializer is also used by deno and undici)
I thought you would be interested in using it (as discussed earlier) maybe also for your test cases
so i updated multipart-parser.js in the example dir to construct a multipart payload (with files) with FormData instead of hand crafting a payload