{"adoption": {"forks": 314, "observed_at": "2026-08-28T04:08:55.131609+00:00", "stars": 4619}, "canonical_url": "https://ross.abutalabs.com/products/happy-dom", "card": {"archived": false, "artifact_type": "library", "description": "A JavaScript implementation of a web browser without its graphical user interface", "domain": ["web-development", "testing", "frontend", "developer-tools"], "enriched": true, "function": ["testing", "parser", "http-client", "web-scraping"], "health_score": 100, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["capricorn86/happy-dom"], "name": "capricorn86/happy-dom", "platform": ["bun"], "pushed_at": "2026-08-26T22:55:12+00:00", "repo": "capricorn86/happy-dom", "stars": 4619, "tags": ["headless-browser", "dom-implementation", "web-components", "shadow-dom", "vitest", "jest", "testing-library", "whatwg", "nodejs", "javascript", "typescript"], "topics": ["javascript", "typescript", "nodejs", "html", "dom", "browser", "whatwg", "react", "angular", "vue", "lit-element", "lit-html", "web-components", "vitest", "jest", "bun", "testing-library", "svelte", "hacktoberfest2025", "hacktoberfest"], "urls": [], "use_cases": ["test React components in Jest without a real browser", "run Vitest tests with a DOM environment", "parse and manipulate HTML in Node.js", "test web components with Custom Elements and Shadow DOM support", "scrape web pages by parsing HTML with a DOM API", "test Vue, Svelte, or Angular components headlessly"], "what_it_is": "Happy DOM is a JavaScript implementation of a web browser without its graphical user interface, providing a DOM implementation for Node.js and Bun. It is commonly used as a test environment for frontend frameworks and testing libraries like Vitest, Jest, and Testing Library.", "when_to_avoid": ["you need real browser rendering, layout, or full JavaScript engine behavior", "you need pixel-accurate screenshots or end-to-end browser automation", "your code depends on browser APIs Happy DOM does not implement"], "when_to_choose": ["you need a fast, lightweight DOM for unit tests instead of a full headless browser", "you want Custom Elements, Shadow DOM, Mutation Observer, or Fetch API support in tests", "you use Testing Library with Vitest, Jest, or Bun"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/happy-dom", "repo": "capricorn86/happy-dom", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "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:55.131609+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.131609+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:39.866341+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8c1cec5cc8fe48eecc6930b693ae30e15e1a10b5ef2586041607b3e0324cbb64", "fetched_at": "2026-08-28T04:08:55.131609+00:00", "kind": "readme", "missing": false, "url": "https://github.com/capricorn86/happy-dom"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2550, "days_push": 7, "days_rel": 7, "gap_med": 0.0, "n_releases_24m": 175}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}