SockJS
WebSocket emulation - Node.js server observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 93
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5521
- days_rel: n/a
- days_push: 44
- n_releases_24m: 0
Adoption not part of the score
2101 stars · 306 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SockJS-client is a browser JavaScript library that provides a WebSocket-like object for low-latency, full-duplex, cross-domain communication between browser and server. It uses native WebSockets when available and falls back to various browser-specific transport protocols for environments where WebSockets are unsupported, such as behind restrictive corporate proxies.
Use cases
- add real-time messaging to a web app behind a corporate proxy that blocks WebSockets
- build a chat application that works in all modern and legacy browsers
- establish full-duplex cross-domain communication between browser and Node.js server
- provide WebSocket-like API with automatic transport fallbacks
- stream live updates to browsers that don't support the WebSocket protocol
When to choose
- you need WebSocket-like real-time communication but must support old browsers or restrictive proxies
- you want a mature, cross-browser fallback layer with a Node.js server counterpart
- your deployment environment may not support native WebSockets
When to avoid
- all your target browsers and networks support native WebSockets
- you need a non-Node.js server implementation without a SockJS counterpart
- you want modern alternatives like native WebSocket APIs or Socket.IO's ecosystem
Facets
library · maturity maintenance
websocket http-client middleware web-development networking browser cross-platform websocket-emulation fallback-transports browser-library real-time-communication real-time nodejs
2 sources
- readme: https://github.com/sockjs/sockjs-node · fetched 2026-08-28 · e09317c0827d
- registry_npm: https://registry.npmjs.org/sockjs-client · fetched 2026-08-29 · 4d2ac771eee2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sockjs/sockjs-node | main | 65 |
| sockjs/sockjs-client | sdk | 66 |
For agents
markdown · JSON · MCP: product_card(name="sockjs/sockjs-node")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem