Node 20 is the active LTSLTS means long-term support. The acronym is often used to mark Node.js release lines that will be maintained and supported for an extended period. There are two separate kinds of LTS releases: Active and Maintenance. The Active release line often gets new features and other improvements beside security patches and bug fixes, and the Maintenance only gets the latter. It... version which will be supported until 22 Oct 2024, while Node 21 became the Current version in 2023 October: https://blog.risingstack.com/nodejs-21/
NAME RELEASED ACTIVE SUPPORT SECURITY SUPPORT VERSION Node 21 CURRENT 2023. Oct 17. 2024. Apr 1. 2024. Jun 1. 21.1.0 Node 20 LTS 2023. Apr 18. 2024. Oct 22. 2026. Apr 30 20.9.0 In this article below, you’ll find changelogs and download / update information regarding Node.jsNode.js is an asynchronous event-driven JavaScript runtime and is the most effective when building scalable network applications. Node.js is free of locks, so there's no chance to dead-lock any process.!
Node.js LTS & Current Download for macOS:
Node.js LTS & Current Download for Windows:
- 20.9.0 LTS Windows 32-bit
- 20.9.0 LTS Windows 64-bit
- 21.1.0 Current Windows 32-bit
- 21.1.0 Current Windows 64-bit
For other downloads like Linux libraries, source codes, Docker images, etc.. please visit https://nodejs.org/en/download/
Node.js Release Schedule:
Node.js v21 is the next Current version!
The latest major version of Node.js has just released with a few new interesting experimental features and a lot of fixes and optimization. You can find our highlights in this article: https://blog.risingstack.com/nodejs-21/
- Built-in WebSocket client:
A browser-compatible WebSocket implementation has been added to Node.js with this new release as an experimental feature. You can give it a go using the--experimental-websocket
flag. The current implementation allows for opening and closing of websocket connections and sending data.
- flush option for the writeFile type filesystem functions:
Up until now, it was possible for data to not be flushed immediately to permanent storage when a write operation completed successfully, allowing read operations to get stale data. In response, aflush
option has been added to the fs module file writing functions that, when enabled, forces data to be flushed at the end of a successful write operation usingsync
.
- Addition of a global navigator Object:
This new release also introduces a global navigator object to take steps towards enhancing web interoperability. We can now access hardware concurrency information through navigator.hardwareConcurrency, the only currently implemented method on the object.
- Array grouping:
There is a new static method added toObject
andMap
,groupBy()
, that groups the items of a given iterable according to a provided callback function.
- Additional changes:
- Both the
fetch
and thewebstreams
modules are now marked as stable after receiving a few changes with this version. - A host of performance improvements as usual with any new release.
- WebAssembly gets extended const expressions
- Another new experimental flag,
--experimental-default-type
, has been added that allows setting the default module type to ESM - The
globalPreload
hook has been removed, it’s functionality replaced byregister
andinitialize
- Glob patterns are now supported in the test runner
- Both the
Learn More Node.js from RisingStack
At RisingStack we’ve been writing JavaScript / Node tutorials for the community in the past 5 years. If you’re beginner to Node.js, we recommend checking out our Node Hero tutorial series! The goal of this series is to help you get started with Node.js and make sure you understand how to write an application using it.
See all chapters of the Node Hero tutorial series:- Getting Started with Node.js
- Using NPM
- Understanding async programming
- Your first Node.js HTTP server
- Node.js database tutorial
- Node.js request module tutorial
- Node.js project structure tutorial
- Node.js authentication using Passport.js
- Node.js unit testing tutorial
- Debugging Node.js applications
- Node.js Security Tutorial
- How to Deploy Node.js Applications
- Monitoring Node.js Applications
As a sequel to Node Hero, we have completed another series called Node.js at Scale – which focuses on advanced Node / JavaScript topics. Take a look!