nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
106.61k stars 29.07k forks source link

Document differences between Node.js fetch() implementations and the standard #52163

Open mcollina opened 6 months ago

mcollina commented 6 months ago

We should add a section in our docs documenting how/why Node.js fetch() differs from the standard.

A few notable differences

@KhafraDev definitely know more

KhafraDev commented 6 months ago

Most of these are documented in undici's README, it should be pretty easy to copy the documentation from there. https://github.com/nodejs/undici?tab=readme-ov-file#undicifetchinput-init-promise

AretiTsolakidou commented 3 months ago

I totally agree, giving users the opportunity to know what Node.js fetch() is in both the documentation and in README will turn out to be very helpful.