Node 20 is the active LTS 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
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-websocketflag. 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, a
flushoption 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 using
- 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 to
groupBy(), that groups the items of a given iterable according to a provided callback function.
- Additional changes:
- Both the
webstreamsmodules 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
globalPreloadhook has been removed, it’s functionality replaced by
- Glob patterns are now supported in the test runner
- Both the
Learn More Node.js from RisingStack
- 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