Node.js 22 offers a stable release with new features such as stabilized Watch mode, default-enabled WebSocket client, and a new --run flag for script execution. It also includes enhancements to loading ES Modules with require(), pattern matching in the fs module, AbortSignal performance, Stream highWaterMark, and an upgrade to

6m read timeFrom blog.appsignal.com
Post cover image
Table of contents
Watch Mode is StableWebSocket Global Enabled by DefaultSupport for Running package.json ScriptsLoading ES Modules with require()fs Module Supports Pattern MatchingAbortSignal Performance ImprovementsEnhancements to Stream highWaterMarkV8 Upgraded to v12.4Should You Use Node.js 22 in Production?How to Upgrade to Node.js 22Wrapping Up

Sort: