logoalt Hacker News

nedtyesterday at 2:21 PM1 replyview on HN

Before that we had node-fetch. If you already use a dependency why not one that's pretty much what will come natively to every JS runtime soon.


Replies

zarzavatyesterday at 2:45 PM

The fetch API is designed for browsers. It's not designed for servers. Fetch may work for a particular use case on the server, it may not. Servers have needs over and above what a browser allows the client to do.