News for hackers. Stuff that matters.
Re:Fetch API has landed into Node.js by ecf on Tuesday February 01, 2022 @03:19PM (#30168636)
Seriously. I maintain an open-source Node.js CLI utility and was shocked when import/export syntax is only achievable if you use a transpiler like Babel. Such overkill for something that’s been in the JS spec for nearly a decade.
Re:Fetch API has landed into Node.js by ash_gti on Tuesday February 01, 2022 @03:35PM (#30168865)
Node does support ESM now by default (and has supported it for a while behind a flag), https://nodejs.org/api/esm.html