Ross ROSS = Recommend OSS · open-source software intelligence for agents

joewalnes/reconnecting-websocket

A small decorator for the JavaScript WebSocket API that automatically reconnects observed · 2026-08-28

github.com/joewalnes/reconnecting-websocket · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 5332
  • days_rel: n/a
  • days_push: 1499
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4319 stars · 953 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A tiny JavaScript library (<600 bytes gzipped) that wraps the native WebSocket API to add automatic reconnection when the connection drops. It is a drop-in, API-compatible replacement for WebSocket with configurable reconnect intervals, backoff, and timeouts.

Use cases

  • keep a websocket connection alive with automatic reconnect
  • replace WebSocket with a reconnecting version
  • handle dropped websocket connections in a browser app
  • add exponential backoff to websocket reconnection
  • maintain realtime data feed over websocket
  • reconnect websocket after server restart

When to choose

  • you want a minimal, zero-dependency drop-in replacement for WebSocket with auto-reconnect
  • you need configurable reconnect intervals and backoff
  • you want API compatibility so existing WebSocket code keeps working

When to avoid

  • you need a full realtime client with pub/sub, channels, or fallback transports (consider Socket.IO or similar)
  • you need reconnection logic with heartbeat/ping-pong health checks
  • your project uses native WebSocket with custom reconnection already

Facets

library · maturity maintenance

websocket http-client web-development frontend browser websocket-reconnect drop-in-replacement tiny-library zero-dependency real-time nodejs javascript

1 source

Member repositories

RepositoryRoleHealth v2
joewalnes/reconnecting-websocketmain32

For agents

markdown · JSON · MCP: product_card(name="joewalnes/reconnecting-websocket")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem