{"adoption": {"forks": 270, "observed_at": "2026-08-28T04:08:50.927582+00:00", "stars": 4469}, "canonical_url": "https://ross.abutalabs.com/products/primus", "card": {"archived": false, "artifact_type": "library", "description": ":zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.", "domain": ["web-development", "backend", "developer-tools"], "enriched": true, "function": ["websocket", "middleware", "serialization", "plugin-system"], "health_score": 23, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["primus/primus"], "name": "primus/primus", "platform": ["browser", "cross-platform"], "pushed_at": "2023-11-06T18:13:11+00:00", "repo": "primus/primus", "stars": 4469, "tags": ["real-time", "abstraction-layer", "sockjs", "engine-dot-io", "browserchannel", "polling", "pubsub", "reconnect", "transformers", "nodejs"], "topics": ["javascript", "real-time", "websocket", "framework", "sockjs", "browserchannel", "polling", "http", "nodejs", "node"], "urls": [], "use_cases": ["add real-time messaging to a node.js app without locking into socket.io", "switch websocket frameworks without rewriting client and server code", "implement automatic reconnection with exponential back-off for live connections", "broadcast messages to connected clients over websockets", "use the same realtime client code in the browser and node.js", "encode realtime messages with a custom parser or binary format"], "what_it_is": "Primus is a Node.js abstraction layer over multiple real-time frameworks (WebSocket, SockJS, Engine.IO, BrowserChannel, polling) that exposes a single unified client/server API. It adds built-in reconnect with exponential back-off, offline detection, pluggable message encoders, and a stream-compatible interface so frameworks can be swapped by changing one line of code.", "when_to_avoid": ["you are happy with a single framework like socket.io and don't need abstraction", "you need a non-JavaScript backend language", "you require a project with frequent recent releases and active development"], "when_to_choose": ["you want framework-agnostic real-time communication on Node.js with easy transformer swapping", "you need built-in reconnect, offline detection, and stability patches across transports", "you want a stream-compatible realtime interface and plugin system"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/primus", "repo": "primus/primus", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "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:50.927582+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.927582+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:37.165088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8d9e95bd34d34b968ab29b71632a663d726713825179a686c5d0154475cac620", "fetched_at": "2026-08-28T04:08:50.927582+00:00", "kind": "readme", "missing": false, "url": "https://github.com/primus/primus"}, {"content_hash": "34bc888bb8e2977fcaaef4c63531e2150da369a475a6a33989998008dc54af82", "fetched_at": "2026-08-29T09:07:29.412419+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/primus"}], "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": 4817, "days_push": 1031, "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}}