-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION]: form-data vs formdata-node #1
Comments
Hello. That's a good question. In short: I decided to implement FormData other way and drop old Node.js versions. Initially this project was just my experiment with Node.js streams and was made because of these reasons:
|
Thank you very much for such a detailed response. I see that the packet size is pretty much the same. You know, when a server has more than half a million requests, each optimization has its own price. So it is very important for me. PS I'll be happy to have a typescript definition file as TS fanboy :) |
I understand your point, but to be honest, I never thought about benchmarking in this project since this was an experiment. I'm also never wrote benchmarks, so I don't know how it works with a lots of data. Sorry about that :) I thought you can use standard definitions of the FormData in TS, so I didn't added them here. But if it doesn't work, I think we can fix that :) I'm also don't support any way to get size of the FormData, but I'm planning this feature for next releases. |
Oh, I just realised that browser implementation uses different data types for FormData entry values, which means that you can't use it here :D |
I'm closing this thread because of inactivity. TS typings will be added if only I'd learn TS or somebody help me with that. |
@xr0master hey 👋 |
Hey guys. Can you explain your motivation to create this project, please?
What is different between form-data and formdata-node?
Thank you
The text was updated successfully, but these errors were encountered: