{"adoption": {"forks": 79, "observed_at": "2026-08-28T04:06:54.496234+00:00", "stars": 2468}, "canonical_url": "https://ross.abutalabs.com/products/sockette", "card": {"archived": false, "artifact_type": "library", "description": "The cutest little WebSocket wrapper! 🧦", "domain": ["web-development", "developer-tools"], "enriched": true, "function": ["websocket", "http-client"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["lukeed/sockette"], "name": "lukeed/sockette", "platform": ["browser", "cross-platform"], "pushed_at": "2024-01-20T17:07:08+00:00", "repo": "lukeed/sockette", "stars": 2468, "tags": ["websocket-wrapper", "auto-reconnect", "tiny-library", "zero-dependency", "real-time", "nodejs"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sockette", "repo": "lukeed/sockette", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "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:06:54.496234+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.496234+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:29:11.396118+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "baf22a74563f4136f7653b5f1227802153af9b17f6f323b4e65a00742c99383a", "fetched_at": "2026-08-28T04:06:54.496234+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukeed/sockette"}, {"content_hash": "abb1073cab039828469561822f70916093c2aac7b793b73fc74f4dcb18fa48a2", "fetched_at": "2026-08-29T10:10:35.425631+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sockette"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3316, "days_push": 956, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}