# ua-parser-js — card for AI agents

Parse user-agent strings to detect browser, engine, OS, CPU and device type.

Category: Utilities · npm package `ua-parser-js` · latest version 2.0.10 (checked 2026-11-01)
Install: `npm install ua-parser-js`
License: AGPL-3.0-or-later (network-copyleft)

In your own product (generator, app, hosted service): **conditions**. Network copyleft (AGPL): people who use a hosted service built with it are owed the source of the whole service.

## Warnings
- The license is network copyleft (AGPL-3.0-or-later): read it before shipping closed-source software or a hosted service.

## Numbers (AgentGid data)
- Gid Score: 68.3 (#476 of all tools, 54 of 408 in its category)
- Used in 22 public projects set up for AI coding agents (0.4%)
- Downloads last week: 48,138,747 (as of 2026-11-24), +43.4% over 4 weeks
- GitHub stars: 10,215 (as of 2026-11-24)
- Last push: 2026-11-11

## Often used with
Zod 86.4%, date-fns 50.0%, React Hook Form 40.9%, TypeScript 95.5%, Tailwind Merge 54.5%, React Hook Form Resolvers 36.4%

## Links
- AgentGid page: https://agentgid.com/tools/ua-parser-js/
- Homepage: https://uaparser.dev
- Repository: https://github.com/faisalman/ua-parser-js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
