{"adoption": {"forks": 129, "observed_at": "2026-08-28T04:06:16.432696+00:00", "stars": 2118}, "canonical_url": "https://ross.abutalabs.com/products/csstree", "card": {"archived": false, "artifact_type": "library", "description": "A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations", "domain": ["web-development", "frontend", "parsers"], "enriched": true, "function": ["parser", "serialization", "developer-tools"], "health_score": 79, "homepage": "https://csstree.github.io/docs/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["csstree/csstree"], "name": "csstree/csstree", "platform": ["cross-platform"], "pushed_at": "2026-03-05T14:58:51+00:00", "repo": "csstree/csstree", "stars": 2118, "tags": ["css", "ast", "lexer", "walker", "code-generator", "w3c-specs", "css-validation", "source-to-source-transform", "nodejs", "javascript"], "topics": ["css-parser", "ast", "css", "fast", "parser", "lexer", "walker", "generator", "w3c"], "urls": [], "use_cases": ["parse css into an ast", "validate css declaration values against w3c syntaxes", "traverse and transform css ast nodes", "generate css from an ast", "build a css minifier or optimizer", "analyze css in a build tool or framework compiler"], "what_it_is": "CSSTree is a JavaScript tool set for CSS that includes a fast, detailed parser (CSS to AST), AST walker, generator (AST to CSS), and lexer for syntax validation based on W3C specs and browser implementations. It is designed for efficiency and spec compliance, focusing on CSS analysis and source-to-source transformation tasks.", "when_to_avoid": ["you only need simple string-level CSS minification without AST manipulation", "you need a full CSS linter with style rules out of the box", "you work in a non-JavaScript ecosystem"], "when_to_choose": ["you need a fast, spec-compliant CSS parser with adjustable detail level", "you need tolerant error handling that preserves invalid content for later processing", "you are building CSS analysis, transformation, or minification tooling", "you need to validate CSS values against W3C and vendor-specific syntaxes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/csstree", "repo": "csstree/csstree", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "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:16.432696+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.432696+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:53:02.945205+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e885c91a1eac2cb13eb7ef17f0d4ae4de7bfca25c30ebd8584f81a056259fd0b", "fetched_at": "2026-08-28T04:06:16.432696+00:00", "kind": "readme", "missing": false, "url": "https://github.com/csstree/csstree"}, {"content_hash": "382e48eed095c9fbaf4102de40964935510e386f6138fb48fcba63ade56221a0", "fetched_at": "2026-08-29T10:33:30.730444+00:00", "kind": "homepage", "missing": false, "url": "https://csstree.github.io/docs/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 70, "longevity": 100, "rhythm": 61}, "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": 3652, "days_push": 181, "days_rel": 181, "gap_med": 42.5, "n_releases_24m": 5}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}