Node.js 21 brings WebSocket client
Briefly

Downloadable from nodejs.org, Node.js 21 will replace Node.js 20 as the Current release line when Node.js 20 becomes the LTS (Long Term Support) release later this month. Node.js 21 is slated to be the Current release until April 2024.
A new flag, --experimental-default-type, can flip the default module system used by Node.js. Input explicitly defined as ES modules or CommonJS, such as by the package.json "type" field or the .mjs/cjs file extension, are unaffected.
Read at InfoWorld
[
|
]