Node.js 21 brings WebSocket client
Briefly

Announced October 17, Node.js 21 is equipped with an experimental, browser-compatible WebSocket implementation, enabled through the --experimental-websocket flag. WebSocket enables two-way communication between a browser and server, with no need to poll the server for a reply.
Node.js 21 also features an upgraded test runner, which adds support for glob expressions when specifying the --test parameter. This means developers now can use powerful glob patterns to run tests more efficiently.
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.
Read at InfoWorld
[
add
]
[
|
|
]