{"adoption": {"forks": 47, "observed_at": "2026-08-28T04:06:01.982728+00:00", "stars": 1983}, "canonical_url": "https://ross.abutalabs.com/products/fontaine", "card": {"archived": false, "artifact_type": "library", "description": "Automatic font fallback based on font metrics", "domain": ["web-development", "frontend", "performance"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 100, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["unjs/fontaine"], "name": "unjs/fontaine", "platform": [], "pushed_at": "2026-08-25T18:27:32+00:00", "repo": "unjs/fontaine", "stars": 1983, "tags": ["font-fallback", "font-metrics", "cls", "web-vitals", "css-fonts", "unjs", "nodejs", "web-server"], "topics": ["cls", "fonts", "web-vitals", "hacktoberfest"], "urls": [], "use_cases": ["reduce cumulative layout shift from web font loading", "generate metric-compatible font fallbacks automatically", "improve web vitals scores for font rendering", "avoid text reflow when custom fonts swap in", "optimize font loading in build pipelines"], "what_it_is": "Fontaine is a TypeScript library that automatically generates font fallbacks based on font metrics to reduce layout shift (CLS). It computes metric-compatible fallback fonts so text renders consistently while web fonts load.", "when_to_avoid": ["you don't load custom web fonts", "you need full font subsetting or optimization rather than fallbacks", "your project is not in a Node.js/JavaScript build environment"], "when_to_choose": ["your site suffers CLS from font swapping", "you want automatic fallback font generation at build time", "you need metric-compatible fallbacks without manual font metric work"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/fontaine", "repo": "unjs/fontaine", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "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:01.982728+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:01.982728+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:03:31.523154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a3da6d63289aae4e86a7a1979274d6908be4d00cef2e3b85af147db4ed730bff", "fetched_at": "2026-08-28T04:06:01.982728+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/fontaine"}, {"content_hash": "82d3b4ac42ce16db6dc8382c25c083519eed4736d0bdf332442555708009618f", "fetched_at": "2026-08-29T10:43:35.730160+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/fontaine"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 99}, "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": 1434, "days_push": 8, "days_rel": 8, "gap_med": 1, "n_releases_24m": 10}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}