April 24, 2024

Node.js 22 released

Node.jsA JavaScript runtime built on V8 — event-driven I/O for servers, CLIs, and tooling. 22.0.0 shipped on April 24, 2024 with require() of ES modules, WebSocket client, and V8Google's open-source JavaScript engine — powers Chrome, Node.js, and many embedded runtimes. 12.4.

What it was for

Node.jsNodeNode.js — JavaScript on the server via an event-driven runtime built on V8. 22 became LTSLong-term support — a release branch maintained with security fixes for years, common in Linux and Node. in October 2024 — experimental `require(esm)` eased migration from CommonJS to modules; built-in WebSocket client reduced dependency on `ws`. Native ESM loading via require() became default in NodeNode.js — JavaScript on the server via an event-driven runtime built on V8. 22.12.0 (December 2024).

Why it's here

NodeNode.js — JavaScript on the server via an event-driven runtime built on V8. 22 simplified the ESM/CommonJS interop pain that blocked upgrades.

Why it mattered

Native WebSocket and module loading reduced npmNode Package Manager — the default registry and CLI for installing JavaScript and TypeScript libraries. surface area for servers.

What it solved

Dual package ecosystems forced awkward loaders and bundler workarounds.

Media

  • Node.js
    ImageNode.js

    Ryan Dahl, MIT, via Wikimedia Commons

Related