DEV Community

Cover image for The time of Axios and Node-Fetch is coming to an end?
Miguel Müller
Miguel Müller

Posted on

The time of Axios and Node-Fetch is coming to an end?

It's so beautiful how technologies evolve isn't it?

From yesterday to today (10/02/22 - 11/02-2022) we had an impactful change in something that is in our daily lives - Node.JS.

It was officially started in this v17.5.0 of NodeJS the implementation, at the moment experimental, of the native API for Fetch to work with Request and Response .

It was always natural to turn to external libraries to consume external web APIs. But now it looks like all that is about to change.

Unlike what happens in most current browsers where there is, natively, the Fetch API for requests, NodeJS did not have its own feature for this.

As I said, this feature is experimental, so it still needs to be used with the flag: --experimental-fetch.

I haven't had time to test the functionality yet but just reading it made me salivate. If you try it out there, let us know how the result was and if it met your expectations.

If you want to know more about the changelog of this new version of NodeJS, you can access this link here

Top comments (1)

Collapse
 
maxwebber profile image
Max Paz

Great text, very good and very interesting this subject and it is very good to see technology advancing more and more.