|
When using FormData to upload a file in the browser, you can pass it a File which is actually a Blob and that can lazily represent a huge file. This isn't possible in Node, you need to use something like https://github.com/form-data/form-data to work with memory efficiently. Is Blob support planned? |
Answered by
Trott
Apr 29, 2022
Replies: 0 comments 5 replies
|
Blob was added in Node.js 18. |
0 replies
Answer selected by
wmertens
|
Argh, totally missed that, sorry. "blob" and "file" are hard to search on 😅. But |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blob was added in Node.js 18.