{"adoption": {"forks": 90, "observed_at": "2026-08-28T04:07:12.221323+00:00", "stars": 2718}, "canonical_url": "https://ross.abutalabs.com/products/haunted", "card": {"archived": false, "artifact_type": "library", "description": "React's Hooks API implemented for web components 👻", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["frontend-framework", "ui-components", "state-management"], "health_score": 91, "homepage": null, "language": "TypeScript", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["matthewp/haunted"], "name": "matthewp/haunted", "platform": ["browser"], "pushed_at": "2026-08-24T10:02:59+00:00", "repo": "matthewp/haunted", "stars": 2718, "tags": ["web-components", "react-hooks", "lit-html", "hyperhtml", "custom-elements", "shadow-dom", "web-server", "nodejs"], "topics": ["hooks", "lit-html", "react-hooks", "web-components"], "urls": [], "use_cases": ["use react hooks in web components", "build custom elements without a framework", "write function-based web components with state", "reuse react hooks libraries in web components", "lightweight alternative to react for component development", "create web components with lit-html rendering"], "what_it_is": "Haunted is a TypeScript library that brings React's Hooks API (useState, useEffect, useContext, etc.) to standard web components, using lit-html or hyperHTML as renderers. It lets you define custom elements as plain functions with hooks, reusing existing React hooks from npm via bundler aliasing.", "when_to_avoid": ["you are building a full React application with its ecosystem", "you need class-based web components or Lit's full feature set", "your team has no familiarity with the hooks mental model"], "when_to_choose": ["you want React-style hooks ergonomics in standards-based web components", "you need framework-agnostic components usable across React, Vue, or plain HTML", "you prefer a tiny library over a full framework like React or Lit"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/haunted", "repo": "matthewp/haunted", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "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:07:12.221323+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:12.221323+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:15:19.310137+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f954bcbece3b67fffe7797def19f1ca9e90c8ad9cba30e861744dc5de5f8016", "fetched_at": "2026-08-28T04:07:12.221323+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matthewp/haunted"}, {"content_hash": "814a96c0d6f404882a813b6028e76d3cbaf20e1f1688c79d048af36f2bd899e6", "fetched_at": "2026-08-29T09:58:36.438872+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/haunted"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 40}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2867, "days_push": 9, "days_rel": 558, "gap_med": 3, "n_releases_24m": 2}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}