{"adoption": {"forks": 155, "observed_at": "2026-08-28T04:07:30.241179+00:00", "stars": 2922}, "canonical_url": "https://ross.abutalabs.com/products/react-device-detect", "card": {"archived": false, "artifact_type": "library", "description": "Detect device, and render view according to detected device type.", "domain": ["frontend", "web-development", "mobile-development"], "enriched": true, "function": ["ui-components", "state-management"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["duskload/react-device-detect"], "name": "duskload/react-device-detect", "platform": ["browser"], "pushed_at": "2024-07-03T00:31:27+00:00", "repo": "duskload/react-device-detect", "stars": 2922, "tags": ["react", "user-agent-sniffing", "device-detection", "responsive-rendering", "browser-detection", "nodejs", "web-server"], "topics": ["mobile", "device", "detect", "useragent", "javascript", "user-agent"], "urls": [], "use_cases": ["render different components on mobile vs desktop in react", "detect if user is on a tablet or phone", "show a browser-not-supported message for IE users", "conditionally render content based on device type", "detect smart tv or console browsers in a react app", "get browser name and device model from user agent"], "what_it_is": "A React library that detects device type, browser, and OS via user-agent sniffing and provides components and selectors to conditionally render views per device. It offers view components like BrowserView and MobileView plus boolean selectors such as isMobile and isIE.", "when_to_avoid": ["you only need responsive layouts - use CSS media queries or matchMedia instead", "you need reliable feature detection rather than user-agent sniffing", "user agents may be spoofed or reduced in your target browsers"], "when_to_choose": ["you need to detect specific browsers or device categories, not just screen size", "you want ready-made React view components for per-device rendering", "you need SSR-compatible device detection hooks and selectors"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-device-detect", "repo": "duskload/react-device-detect", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "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:07:30.241179+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.241179+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:33:45.914824+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ccd1c9b3ee1e82d50c99b63fd1f27273be2edd0ed1086f0f2370fd6cd8403154", "fetched_at": "2026-08-28T04:07:30.241179+00:00", "kind": "readme", "missing": false, "url": "https://github.com/duskload/react-device-detect"}, {"content_hash": "f884667d8ee3f860575dd813e0a7866d21f869fd2dec6c48d64124329c32c0ee", "fetched_at": "2026-08-29T09:49:19.380292+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-device-detect"}], "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": 3242, "days_push": 792, "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}}