{"adoption": {"forks": 953, "observed_at": "2026-08-28T04:08:41.923966+00:00", "stars": 4319}, "canonical_url": "https://ross.abutalabs.com/products/reconnecting-websocket", "card": {"archived": false, "artifact_type": "library", "description": "A small decorator for the JavaScript WebSocket API that automatically reconnects", "domain": ["web-development", "frontend"], "enriched": true, "function": ["websocket", "http-client"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["joewalnes/reconnecting-websocket"], "name": "joewalnes/reconnecting-websocket", "platform": ["browser"], "pushed_at": "2022-07-26T18:35:34+00:00", "repo": "joewalnes/reconnecting-websocket", "stars": 4319, "tags": ["websocket-reconnect", "drop-in-replacement", "tiny-library", "zero-dependency", "real-time", "nodejs", "javascript"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/reconnecting-websocket", "repo": "joewalnes/reconnecting-websocket", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.923966+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:44.387908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0ad612ab0a733653957e9515d91bbfeca8b9ad63c08a8d3fff7914f702952cb3", "fetched_at": "2026-08-28T04:08:41.923966+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joewalnes/reconnecting-websocket"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5332, "days_push": 1499, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}