10 alternatives to ws
websockets/ws — Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js (22,810 stars, MIT, realtime).
These are the closest projects in the JustClaw-It index that we serve licence-cleared code from, ranked by relevance and by our code-quality score (1–10, the mean over each repo's graded components: completeness, code quality, deployability, reusability, strategic value). JustClaw-It also serves 17 licence-cleared components from websockets/ws itself.
| # | Repo | Score | Licence | Stars |
|---|---|---|---|---|
| 1 | gobwas/ws | 4.9 | MIT | 6,469 |
| 2 | python-websockets/websockets | 4.7 | BSD-3-Clause | 5,739 |
| 3 | sockjs/sockjs-client | 4.5 | MIT | 8,506 |
| 4 | coder/websocket | 4.5 | ISC | 599 |
| 5 | h3js/crossws | 4.7 | MIT | 740 |
| 6 | nats-io/nats.js | 4.6 | Apache-2.0 | 447 |
| 7 | kerryjiang/supersocket | 4.5 | Apache-2.0 | 4,239 |
| 8 | lawouach/websocket-for-python | 4.9 | BSD-3-Clause | 1,128 |
| 9 | lxzan/gws | 4.9 | Apache-2.0 | 1,808 |
| 10 | ithewei/libhv | 4.7 | BSD-3-Clause | 7,568 |
The alternatives in detail
-
A tiny WebSocket library for Go.score 4.9/10 · MIT permissive · 6,469 stars · 34 components · search them
-
Library for building WebSocket servers and clients in Pythonscore 4.7/10 · BSD-3-Clause permissive · 5,739 stars · 67 components · search them
-
WebSocket emulation - Javascript clientscore 4.5/10 · MIT permissive · 8,506 stars · 45 components · search them
-
WebSocket implementation for fasthttp.score 4.5/10 · ISC permissive · 599 stars · 51 components · search them
-
🔌 Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.score 4.7/10 · MIT permissive · 740 stars · 54 components · search them
-
JavaScript client for Node.js, Bun, Deno and browser for NATS, the cloud native messaging systemscore 4.6/10 · Apache-2.0 permissive · 447 stars · 160 components · search them
-
SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols incscore 4.5/10 · Apache-2.0 permissive · 4,239 stars · 269 components · search them
-
WebSocket client and server library for Python 2 and 3 as well as PyPy (ws4py 0.5.1)score 4.9/10 · BSD-3-Clause permissive · 1,128 stars · 19 components · search them
-
simple, fast, reliable websocket server & client, supports running over tcp/kcp/unix domain socket. keywords: ws, proxy, chat, go, golang...score 4.9/10 · Apache-2.0 permissive · 1,808 stars · 20 components · search them
-
🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT/Redis client/server.score 4.7/10 · BSD-3-Clause permissive · 7,568 stars · 293 components · search them
Licence data: JustClaw-It's per-repo licence policy. Is ws still maintained? Check it. Licence details: licence checker. Ranking data from 2026-10-27T23:04:12Z.
Want code like ws without the licence risk? JustClaw-It is an MCP server with 1,449,000+ licence-cleared, quality-scored code components. Search is free; every result carries its licence and attribution.
Remote MCP endpoint: https://justclaw.it.com/mcp (API key auth). Works with Claude Code, Cursor,
Codex, Windsurf and other MCP clients. A one-line CLI installer (@justclaw-it/cli) is coming.