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

lukeed/sockette

The cutest little WebSocket wrapper! 🧦 observed · 2026-08-28

github.com/lukeed/sockette · JavaScript · MIT (permissive) 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: 3316
  • days_rel: n/a
  • days_push: 956
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2468 stars · 79 forks observed · 2026-08-28

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

Sockette is a tiny (367 bytes) JavaScript wrapper around the WebSocket API that adds automatic reconnection with configurable timeout and max attempts. It lets you declare event listeners once and reuse the same instance across reconnects.

Use cases

  • keep a websocket connection alive with automatic reconnect
  • reuse websocket event listeners across reconnections
  • limit websocket reconnect attempts with backoff timeout
  • send json messages over websocket easily
  • gracefully close and later reconnect a websocket

When to choose

  • you want a minimal, zero-dependency websocket client with auto-reconnect
  • you're tired of re-declaring WebSocket event handlers after each reconnect
  • bundle size matters and you only need reconnect logic on top of native WebSocket

When to avoid

  • you need a full-featured realtime client with channels, presence, or fallback transports (use socket.io or similar)
  • you need reconnection in environments without native WebSocket support
  • you need queueing of messages sent while disconnected

Facets

library · maturity maintenance

websocket http-client web-development developer-tools browser cross-platform websocket-wrapper auto-reconnect tiny-library zero-dependency real-time nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
lukeed/sockettemain23

For agents

markdown · JSON · MCP: product_card(name="lukeed/sockette")

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