fex-team/ua-device
userAgent解析库 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3813
- days_rel: n/a
- days_push: 897
- n_releases_24m: 0
Adoption not part of the score
1461 stars · 167 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
library · maturity maintenance
parser nlp web-development developer-tools analytics browser user-agent ua-parser device-detection chinese-mobile-devices nodejs javascript
3 sources
- readme: https://github.com/fex-team/ua-device · fetched 2026-08-28 · 995f5c4a4c87
- homepage: http://fex-team.github.io/ua-device/ · fetched 2026-08-29 · 6d7b7150eb83
- registry_npm: https://registry.npmjs.org/ua-device · fetched 2026-08-29 · 4c3f8a5ec4aa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fex-team/ua-device | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="fex-team/ua-device")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem