faisalman/ua-parser-js
faisalman/ua-parser-js has 10,210 GitHub stars and 1,212 forks. GitHot measured 0 stars in 24 hours and -3 in 7 days. Last checked 2026-11-09 11:43 UTC. Last push 2026-09-29.
UAParser.js:用于 User-Agent 检测的必备 Web 开发工具。可检测浏览器、操作系统、设备、机器人、应用、AI 爬虫等,并可在浏览器或 Node.js 中运行。
实测星标增长
- 24小时
- 0
- 7天
- -3
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文UAParser.js
Powerful User-Agent detection in a compact, ES5-friendly, dependency-free JavaScript library.
- ✅ Comprehensive detection: Identify various kind of browsers, OS, devices, bots, apps, AI crawlers, and more
- ✅ Battle-tested at scale: Backed by an actively maintained, extensive detection database, trusted by leading tech companies
- ✅ Runs everywhere: Use seamlessly in browsers, Node.js, and modern JavaScript runtimes
Demo
- Live demo: https://uaparser.dev
Documentation
version 1.x: https://docs.uaparser.dev/v1version 2.x: https://docs.uaparser.dev
Before upgrading from v0.7 / v1.0, please read CHANGELOG to see what's new & breaking.
Package Options
| Open-Source Editions | PRO / Commercial Editions | ||||
|---|---|---|---|---|---|
| License options | MIT (v1.x) | AGPL (v2.x) | PRO Personal | PRO Business | PRO Enterprise |
| Browser Detection | ⚠️ | ✅ | ✅ | ✅ | ✅ |
| CPU Detection | ⚠️ | ✅ | ✅ | ✅ | ✅ |
| Device Detection | ⚠️ | ✅ | ✅ | ✅ | ✅ |
| Rendering Engine Detection | ⚠️ | ✅ | ✅ | ✅ | ✅ |
| OS detection | ⚠️ | ✅ | ✅ | ✅ | ✅ |
| Enhanced+ Accuracy | ❌ | ✅ | ✅ | ✅ | ✅ |
| Bot Detection | ❌ | ✅ | ✅ | ✅ | ✅ |
| AI Detection | ❌ | ✅ | ✅ | ✅ | ✅ |
| Extra Detections (Apps, Libs, Emails, Media Players, Crawlers, and more) | ❌ | ✅ | ✅ | ✅ | ✅ |
| Client Hints Support | ❌ | ✅ | ✅ | ✅ | ✅ |
| CommonJS Support | ✅ | ✅ | ✅ | ✅ | ✅ |
| ESM Support | ❌ | ✅ | ✅ | ✅ | ✅ |
| TypeScript Definitions | ✅ | ✅ | ✅ | ✅ | ✅ |
| npm Module Available | ✅ | ✅ | ✅ | ✅ | ✅ |
| Direct Downloads Available | ✅ | ✅ | ✅ | ✅ | ✅ |
| Commercial Use Allowed | ✅ | ✅ | ❌ | ✅ | ✅ |
| Permissive (non-Copyleft) License | ✅ | ❌ | ✅ | ✅ | ✅ |
| No Open-Source Obligations | ✅ | ❌ | ✅ | ✅ | ✅ |
| Unlimited End-Products | ✅ | ✅ | ✅ | ❌ | ✅ |
| Unlimited Deployments | ✅ | ✅ | ✅ | ❌ | ✅ |
| 1-year Product Support | ❌ | ❌ | ✅ | ✅ | ✅ |
| Lifetime Updates | ✅ | ✅ | ✅ | ✅ | ✅ |
| Price | FREE* (License) | FREE* (License) | $14 (License) | $29 (License) | $599 (License) |
GET THE PRO PACKAGES 📥 |
NEW: Managed REST API
Skip the installation, use the User-Agent API in any application:
- ✅ Works everywhere: Integrate with JavaScript, Python, PHP, Java, or any HTTP client
- ✅ Production-ready: Powered by UAParser.js and continuously updated
- ✅ Zero maintenance: We manage the packages, parser updates, device data, and infrastructure for you
Learn more and start building at uaparser.dev/#rest-api
Development
Contributors
This project wouldn't be possible without all the amazing people in the open-source community. Thanks to everyone who contributed, reported issues, and shared feedback.
Made with contributors-img.
Contributions are welcome! Please read the CONTRIBUTING GUIDE first for detailed contribution instructions.
Backers & Sponsors
Support the open-source editions of UAParser.js through one of the following options:
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,486 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,790 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,332 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,455 星标
