WebSockets for Node.js
This is a pure-JavaScript implementation of WebSocket version 13. It has no large or native dependencies. It can establish connections to WebSocket servers (as a client), and also accept connections from clients (as a server).
Requires Node.js v12.22.0 or later.
Documentation
Please see the GitHub wiki for documentation.