Node.js 22 features require() support for synchronous ECMAScript module graphs and the ability to execute scripts from package.json. The release also includes Google's V8 JavaScript engine version 12.4, enhancing performance with WebAssembly garbage collection and WebSocket client improvements.
Enhancements in Node.js 22 include developing AbortSignal instances more efficiently, increasing the high water mark for streams for better performance, and stabilizing watch mode for automatic restarts upon file changes. Additionally, pattern matching is improved with the addition of glob and globSync functions in the node:fs module.
Collection
[
|
...
]