Back to news
backend Priority 4/5 5/5/2026, 11:05:47 AM

Node.js 22.12.0 LTS Released with Experimental TypeScript Support and Enhanced ESM Compatibility

Node.js 22.12.0 LTS Released with Experimental TypeScript Support and Enhanced ESM Compatibility

The OpenJS Foundation has released Node.js 22.12.0, the latest update for the current Long Term Support line. This version marks a significant milestone by introducing experimental support for direct TypeScript execution through a dedicated command-line flag. This feature aims to streamline the development workflow by allowing developers to run TypeScript files without relying on third-party transpilers like ts-node, reflecting a shift toward native TypeScript integration in the Node.js ecosystem. Another major technical update is the further stabilization of Synchronous ESM Graph loading using the require function. Previously, mixing CommonJS and ECMAScript Modules posed significant architectural challenges due to their different loading mechanisms. This update allows for smoother interoperation between these module systems, enabling library maintainers to migrate to ESM more easily while maintaining backward compatibility for CommonJS users. Performance and security have also been addressed with the integration of an updated V8 engine and refinements to the experimental Permission Model. These changes provide developers with more granular control over resource access and improved memory management. As part of the 22.x LTS cycle, this release provides a stable foundation for enterprises while offering a preview of modern JavaScript features that will define the future of server-side development.

Related tools

Recommended tools for this topic

These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.

#nodejs#typescript#javascript#backend

Comparison

AspectBefore / AlternativeAfter / This
TypeScript SupportRequires external tools (tsc, ts-node)Experimental native execution via flag
ESM LoadingAsync import() only for ESM in CJSSync require(esm) becoming stable
WebSocket APIExperimental/Hidden behind flagEnabled by default in standard builds

Action Checklist

  1. Update local Node.js environment to v22.12.0 Verify version using node -v
  2. Test require(esm) functionality in hybrid projects Check for compatibility in legacy CommonJS files
  3. Evaluate the --experimental-strip-types flag Assess if external TS build steps can be simplified

Source: Node.js Foundation

This page summarizes the original source. Check the source for full details.

Related