{"adoption": {"forks": 167, "observed_at": "2026-08-28T04:04:47.455669+00:00", "stars": 1461}, "canonical_url": "https://ross.abutalabs.com/products/ua-device", "card": {"archived": false, "artifact_type": "library", "description": "userAgent解析库", "domain": ["web-development", "developer-tools", "analytics"], "enriched": true, "function": ["parser", "nlp"], "health_score": 20, "homepage": "http://fex-team.github.io/ua-device/", "language": "JavaScript", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["fex-team/ua-device"], "name": "fex-team/ua-device", "platform": ["browser"], "pushed_at": "2024-03-19T08:00:15+00:00", "repo": "fex-team/ua-device", "stars": 1461, "tags": ["user-agent", "ua-parser", "device-detection", "chinese-mobile-devices", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["parse user-agent strings to detect device manufacturer and model", "identify mobile device brands from UA in Chinese web traffic", "get browser, engine, and OS info from user agents", "aggregate device stats without splitting same phone across UA variants", "detect device type (mobile/pc) server-side in Node.js"], "what_it_is": "ua-device is a JavaScript library by Baidu's FEX team that parses User-Agent strings to extract browser, engine, OS, and hardware device information. It specializes in accurately identifying Chinese mobile device manufacturers and models where generic UA parsers fail.", "when_to_avoid": ["you need actively developed features or frequent updates", "your users are mostly outside China and standard parsers like ua-parser-js suffice", "you need TypeScript types or modern ESM support"], "when_to_choose": ["your traffic includes many Chinese Android devices with non-standard UAs", "you need device manufacturer/model recognition rates higher than generic UA parsers", "you want a lightweight Node.js/browser library for UA parsing"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ua-device", "repo": "fex-team/ua-device", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "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:04:47.455669+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:47.455669+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:35:20.132403+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "995f5c4a4c8771ab21d67abc6f2100f1078517fb3ad4411e18f1db7b5d5a7ebc", "fetched_at": "2026-08-28T04:04:47.455669+00:00", "kind": "readme", "missing": false, "url": "https://github.com/fex-team/ua-device"}, {"content_hash": "6d7b7150eb833801497352fc414983b6a9ac8c3c8b4d7acfc0e9e5d9271bd037", "fetched_at": "2026-08-29T11:44:15.089819+00:00", "kind": "homepage", "missing": false, "url": "http://fex-team.github.io/ua-device/"}, {"content_hash": "4c3f8a5ec4aad3ed3aa30311a5b59bc169840e65e62b46ac5f33a8364bd38db3", "fetched_at": "2026-08-29T11:44:15.098887+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/ua-device"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3813, "days_push": 897, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}