pladaria/reconnecting-websocket
Reconnecting WebSocket. For Web, React Native, cli (Node.js) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 3716
- days_rel: n/a
- days_push: 1175
- n_releases_24m: 0
Adoption not part of the score
1313 stars · 206 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A drop-in WebSocket client library that automatically reconnects when the connection closes, with a fully WebSocket-API-compatible interface. It supports Web, Service Workers, Node.js, and React Native, with configurable retry delays, connection timeouts, URL rotation, and message buffering.
Use cases
- keep a websocket connection alive with automatic reconnection
- buffer messages sent while the socket is disconnected and flush them on reconnect
- rotate or change the websocket server url between reconnection attempts
- use websockets in react native or node.js with the same browser api
- handle connection timeouts and retry limits for flaky networks
When to choose
- you need a drop-in replacement for the native WebSocket API with reconnection built in
- you target multiple platforms (browser, Node.js, React Native) with one dependency-free library
- you need configurable backoff, retry limits, or dynamic URL providers
When to avoid
- you need a full realtime framework with pub/sub, presence, or fallback transports (e.g. Socket.IO)
- your environment already provides reconnection at the protocol or proxy level
- the project appears to be in maintenance mode with infrequent releases
Facets
library · maturity maintenance
websocket http-client middleware web-development networking developer-tools browser cross-platform reconnecting-websocket websocket-client auto-reconnect react-native typescript dependency-free real-time nodejs
2 sources
- readme: https://github.com/pladaria/reconnecting-websocket · fetched 2026-08-28 · f34bc1b20eec
- registry_npm: https://registry.npmjs.org/reconnecting-websocket · fetched 2026-08-29 · 35595269a7a6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pladaria/reconnecting-websocket | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="pladaria/reconnecting-websocket")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem