The open source JavaScript runtime Node.js has reached version 23. The most important innovations include default activation require(esm)
For Node.js applications, support for 32-bit Windows systems, command stabilization removed node --run
and a redesigned test runner, including support for the glob pattern for coverage files.
Advertisement
Innovation at a glance
Support for Node.js 23 require(esm)
Enabled by default. This function previously only worked with command line flags --experimental-require-module
Was available in version 20.x and 22.x, allows loading native ES modules require()
It is still considered experimental. The development team is seeking user feedback to make final adjustments before finalizing it.
On the first appearance of a native ES module in require()
An experimental warning is issued. If there is an issue or regression, users can report it in the Node.js issue tracker. Function is temporarily disabled --no-experimental-require-module
Deactivate. Full implementation without flags is expected in a later minor version after upgrading to Node.js 22 to LTS version.
Node.js fixes 23 bugs
with active require(esm)
Node.js no longer resolves error ERR_REQUIRE_ESM
off if require()
Used to load ES modules. However, there is a possibility of error ERR_REQUIRE_ASYNC_MODULE
Occurs when a top-level wait occurs in a module or its dependencies. Successfully loaded ES modules return the corresponding namespace object util.isModuleNamespaceObject()
Can be checked.
users can with process.features.require_module
Check if the feature is enabled in the current Node.js instance. For packages, the “module-sync” export status allows both require()
as well as import
To load the same basic ES module. More information can be found in the documentation.

(Image: WD Ashari / Shutterstock.com)
Enterprise JavaScript Conference to be held on May 7th and 8th enterjs 2025 In Mannheim. The organizers dpunkt.verlag and iX are looking for ideas for lectures and workshops. developers can By 8 November 2024 Participate in calls for proposals.
blind bird ticket Already available – for discounted tickets until the event goes online.
Long term support for Node.js 22
Node.js 23 is scheduled to replace Node.js 22 as the current release line after Node.js 22 moved to long-term support (LTS) in October. As per release schedule Node.js 23 will be listed as the current version for the next six months, until April 2025.
More details about Node.js 23 Can be found in the release notes,
(MDO)
