{"adoption": {"forks": 278, "observed_at": "2026-08-28T04:06:40.891277+00:00", "stars": 2361}, "canonical_url": "https://ross.abutalabs.com/products/matchmediajs", "card": {"archived": false, "artifact_type": "library", "description": "matchMedia polyfill for testing media queries in JS", "domain": ["web-development", "frontend", "cross-platform"], "enriched": true, "function": ["developer-tools", "ui-components"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["paulirish/matchMedia.js"], "name": "paulirish/matchMedia.js", "platform": ["browser"], "pushed_at": "2020-12-22T22:56:49+00:00", "repo": "paulirish/matchMedia.js", "stars": 2361, "tags": ["polyfill", "media-queries", "matchmedia", "responsive-design", "browser-compatibility", "javascript"], "topics": [], "urls": [], "use_cases": ["test media queries in javascript", "polyfill matchMedia in old browsers", "detect mobile screen width in js", "check device orientation in javascript", "run responsive dom scripting based on media queries"], "what_it_is": "A JavaScript polyfill for the window.matchMedia() API, allowing developers to test whether CSS media types or media queries apply in browsers lacking native support. It also offers an addListener module for reacting to media query changes.", "when_to_avoid": ["targeting only modern browsers that natively support matchMedia", "starting a new project where native APIs suffice"], "when_to_choose": ["supporting legacy browsers without native matchMedia support", "building responsive scripts that need media query testing in old IE or older Safari"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/matchmediajs", "repo": "paulirish/matchMedia.js", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "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:40.891277+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:40.891277+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:36:07.110587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dcf9e106f025af787db79039bf74598d15bfa2626d627371cbe593afe48bb882", "fetched_at": "2026-08-28T04:06:40.891277+00:00", "kind": "readme", "missing": false, "url": "https://github.com/paulirish/matchMedia.js"}], "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": 5633, "days_push": 2080, "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}}