With the advent of this prominent Node.js 18 feature, it is now easier to make an HTTP request using the Fetch API. To perform HTTP requests previously, you had to use the XMLHttpRequest API, which needed many lines of code to make a request. Global fetch API is now available by default. But Node.js v18 has addressed the concern by making this available in the default package and so no need to install it separately. If you wanted to make an HTTP request, you had two options: use third-party packages or create the request from scratch. ![]() Previously, developers had to install multiple packages in order to retrieve responses from various APIs and process the data. Let’s have a brief overview of the key highlights and newest features of Node.js 18.įetch is a widely used API on the web for conducting HTTP requests or any other type of network request. ![]() The latest Node.js 18 features include an upgrade to version 10.1 of the V8 Javascript engine, global fetch enabled by default, and the addition of a core test runner module. The codename for this Node.js 18 release will be 'Hydrogen' after it is upgraded to long-term support and will be supported until April 2025. Node.js 18 was released on 19 April 2022, which is now available as a “ current” release for the upcoming 6 months and will then be available as an LTS version in October 2022. Finally, the Node.js community has released its latest version of Node v18.0.0. ![]() The current version of Node.js 17 is now been upgraded to Node.js 18. The Node.js landscape keeps on updating continuously in order to reinforce the functionality and operationality of the framework. It is one of the most efficient Javascript runtime environments, with support for REST APIs, desktop and mobile apps. Node.js is the most popular pick among developers for creating data-driven and scalable real-time applications. With effective and robust web designs gaining notable importance in this digital era, node.js stands out to be the optimal choice for developing responsive web designs.
0 Comments
Leave a Reply. |