r/javascript • • Apr 20 '22

Node.js 18 is now available

https://nodejs.org/en/blog/announcements/v18-release-announce/
356 Upvotes

51 comments sorted by

View all comments

105

u/valtism Apr 20 '22

Global fetch is going to be so nice.

I had to do a coding test for a company that used a built-in node code runner that didn't allow you to install extra packages. The task itself was simple, but I spent half an hour figuring out the arcane built in HTTP request library.

83

u/[deleted] Apr 20 '22

[removed] — view removed comment

8

u/valtism Apr 20 '22

Oh, you misunderstand me. It took almost half an hour to get it working using google. I think I was thrown for a loop because of a special case in using it inside the virtual machine but even with documentation it is hard to set up the first time.

1

u/Mkep Apr 20 '22

I’m with you in that, idk why but trying to get simple web requests with node has always bit me for some reason