WebSocket Library for Node.js

JSON →
library 8.20.0 ·javascript
verified May 27, 2026

`ws` is a highly performant, thoroughly tested WebSocket client and server implementation designed specifically for Node.js environments. As of version 8.20.0, it provides robust support for the WebSocket protocol, including the permessage-deflate extension for compression and passing the extensive Autobahn test suite. It differentiates itself through its focus on speed, reliability, and full protocol compliance in Node.js. `ws` maintains an active release cadence, frequently addressing bug fixes, performance improvements, and minor features. It's crucial to note that `ws` is intended for backend Node.js applications; browser-based WebSocket clients should use the native `WebSocket` API or a wrapper like `isomorphic-ws`. The library offers both server and client capabilities, allowing Node.js to act as either endpoint in WebSocket communication.

total hits 27
actors 9 distinct systems
last hit 1d ago ChatGPT-User
ChatGPT-User
8
GPTBot
5
OAI-SearchBot
4
MetaBot
4
Script
1
Amazonbot
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇮 Finland