{"adoption": {"forks": 148, "observed_at": "2026-08-28T04:05:06.947551+00:00", "stars": 1581}, "canonical_url": "https://ross.abutalabs.com/products/viewport-units-buggyfill", "card": {"archived": false, "artifact_type": "library", "description": "Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari.", "domain": ["web-development", "frontend", "cross-platform"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["rodneyrehm/viewport-units-buggyfill"], "name": "rodneyrehm/viewport-units-buggyfill", "platform": ["browser"], "pushed_at": "2022-05-11T23:33:47+00:00", "repo": "rodneyrehm/viewport-units-buggyfill", "stars": 1581, "tags": ["css", "viewport-units", "buggyfill", "mobile-safari", "polyfill", "legacy-browser-support", "web-server"], "topics": [], "urls": [], "use_cases": ["fix vh/vw units breaking layouts in Mobile Safari", "make calc() with viewport units work in IE9+", "support vmin and vmax in older IE", "fix viewport units in old Android Stock Browser", "handle layout recalculation on device orientation change"], "what_it_is": "A JavaScript buggyfill that makes CSS viewport units (vh, vw, vmin, vmax) work correctly in Mobile Safari and other buggy browsers like old IE and Android Stock Browser. It reads stylesheets via the CSSOM, resolves viewport units against the viewport dimensions, and re-injects computed CSS, updating on orientation change.", "when_to_avoid": ["you only target modern evergreen browsers where viewport units work correctly", "you rely on viewport units in inline style attributes (not supported)", "your stylesheets are cross-origin without CORS or contain relative asset URLs that the re-injection would break"], "when_to_choose": ["you must support Mobile Safari or legacy IE/Android browsers where viewport units misbehave", "your CSS relies on vh/vw/vmin/vmax and you see rendering bugs on mobile WebKit", "you need a drop-in script rather than a build-time CSS transform"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/viewport-units-buggyfill", "repo": "rodneyrehm/viewport-units-buggyfill", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "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:05:06.947551+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.947551+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:56:34.504017+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4fe1f670fc961f7b997934b4858c9c1c555e75b13924b98e94307be4536c874", "fetched_at": "2026-08-28T04:05:06.947551+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rodneyrehm/viewport-units-buggyfill"}, {"content_hash": "0b41f78ffdbfb439bba7295d64bc8df670176b19998c451591c677e1e160ce55", "fetched_at": "2026-08-29T11:26:54.085084+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/viewport-units-buggyfill"}], "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": 4605, "days_push": 1575, "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}}