Technical Documentation: faisalman/ua-parser-js
โน๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference
Overview (`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:
--- METRICS ---
- Files Extracted: 1
- Estimated Token Budget: ~2489 tokens
- Canonical Reference: https://codewiki.google/github.com/faisalman/ua-parser-js