ws
Some data may be outdated — see provenance labels.
Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js observed · 2026-10-03
Health v2 · maintenance only
97/100
- Activity 96
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 5459
- days_rel: 24
- days_push: 24
- n_releases_24m: 20
Adoption not part of the score
22806 stars · 2612 forks observed · 2026-10-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.99
ws is a Node.js library that provides a simple, high‑performance WebSocket client and server implementation. It supports the full RFC‑6455 protocol, optional compression, and can be extended with native addons for extra speed.
Use cases
- Create a real‑time chat server using WebSockets in Node.js
- Stream live sensor data from a Node.js backend to a web client
- Implement a multiplayer game server with low‑latency WebSocket communication
- Build a notification service that pushes updates to connected browsers
- Integrate WebSocket support into an existing Express or Koa HTTP server
When to choose
- You need a fast, battle‑tested WebSocket implementation for Node.js
- Your application runs on the server side and does not require browser compatibility
- You want optional native performance optimizations via bufferutil or utf-8-validate
When to avoid
- You need a WebSocket client that runs directly in the browser
- You prefer a higher‑level abstraction that includes reconnection logic out of the box
- Your project is written in a language other than JavaScript/Node.js
Facets
library · maturity active
websocket http-server web-development windows rfc-6455 compression client-server blazing-fast thoroughly-tested client server real-time nodejs linux macos
3 sources
- readme: https://github.com/websockets/ws · fetched 2026-10-03 · c16d42fdf172
- registry_npm: https://registry.npmjs.org/ws · fetched 2026-09-28 · 9cfa96beebe3
- registry_npm: https://registry.npmjs.org/utf-8-validate · fetched 2026-09-28 · cf1751e0785f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| websockets/ws | main | 97 |
| websockets/bufferutil | backend | 81 |
| websockets/utf-8-validate | backend | 70 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem