ua-parser-js
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment
Last updated 6 months ago by faisalman .
AGPL-3.0-or-later · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ua-parser-js 
SYNC missed versions from official npm registry.

https://uaparser.dev https://uaparser.dev https://uaparser.dev https://uaparser.dev

Discord invite

UAParser.js

The most comprehensive, compact, and up-to-date JavaScript library to detect user's browser, OS, CPU, and device type/model. Also detect bots, apps, and more. Runs seamlessly in the browser (client-side) or Node.js (server-side).

Demo

Documentation

Before upgrading from v0.7 / v1.0, please read CHANGELOG to see what's new & breaking.

Package & Pricing

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 📥

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:

OpenCollective GitHub Sponsors PayPal WeChat/Alipay

Current Tags

  • 2.0.10                                ...           latest (6 months ago)
  • 1.0.41                                ...           legacy (a year ago)
  • 2.0.0                                ...           next (2 years ago)

94 Versions

  • 2.0.10                                ...           6 months ago
  • 2.0.9                                ...           10 months ago
  • 2.0.8                                ...           10 months ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
  • 2.0.5                                ...           a year ago
  • 1.0.41                                ...           a year ago
  • 0.7.41                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 1.0.40                                ...           2 years ago
  • 0.7.40                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-rc.3 [deprecated]           ...           2 years ago
  • 2.0.0-rc.2 [deprecated]           ...           2 years ago
  • 2.0.0-rc.1 [deprecated]           ...           2 years ago
  • 1.0.39                                ...           2 years ago
  • 0.7.39                                ...           2 years ago
  • 2.0.0-beta.3 [deprecated]           ...           2 years ago
  • 1.0.38                                ...           2 years ago
  • 0.7.38                                ...           2 years ago
  • 2.0.0-beta.2 [deprecated]           ...           3 years ago
  • 1.0.37                                ...           3 years ago
  • 0.7.37                                ...           3 years ago
  • 2.0.0-beta.1 [deprecated]           ...           3 years ago
  • 1.0.36                                ...           3 years ago
  • 0.7.36                                ...           3 years ago
  • 2.0.0-alpha.3 [deprecated]           ...           3 years ago
  • 2.0.0-alpha.2 [deprecated]           ...           4 years ago
  • 1.0.35                                ...           4 years ago
  • 0.7.35                                ...           4 years ago
  • 2.0.0-alpha.1 [deprecated]           ...           4 years ago
  • 1.0.34                                ...           4 years ago
  • 0.7.34                                ...           4 years ago
  • 0.7.33                                ...           4 years ago
  • 1.0.33                                ...           4 years ago
  • 1.0.32 [deprecated]           ...           4 years ago
  • 0.7.32 [deprecated]           ...           4 years ago
  • 1.0.2 [deprecated]           ...           5 years ago
  • 0.7.31 [deprecated]           ...           5 years ago
  • 1.0.1 [deprecated]           ...           5 years ago
  • 0.8.1 [deprecated]           ...           5 years ago
  • 0.7.30 [deprecated]           ...           5 years ago
  • 0.7.28 [deprecated]           ...           6 years ago
  • 0.7.27 [deprecated]           ...           6 years ago
  • 0.7.26 [deprecated]           ...           6 years ago
  • 0.7.25 [deprecated]           ...           6 years ago
  • 0.7.24 [deprecated]           ...           6 years ago
  • 0.7.23 [deprecated]           ...           6 years ago
  • 0.7.22 [deprecated]           ...           6 years ago
  • 0.7.21 [deprecated]           ...           7 years ago
  • 0.7.20 [deprecated]           ...           7 years ago
  • 0.7.19 [deprecated]           ...           8 years ago
  • 0.7.18 [deprecated]           ...           9 years ago
  • 0.7.17 [deprecated]           ...           9 years ago
  • 0.7.16 [deprecated]           ...           9 years ago
  • 0.7.15 [deprecated]           ...           9 years ago
  • 0.7.14 [deprecated]           ...           9 years ago
  • 0.7.13 [deprecated]           ...           9 years ago
  • 0.7.12 [deprecated]           ...           10 years ago
  • 0.7.11 [deprecated]           ...           10 years ago
  • 0.7.10 [deprecated]           ...           11 years ago
  • 0.7.9 [deprecated]           ...           11 years ago
  • 0.7.7 [deprecated]           ...           12 years ago
  • 0.7.6 [deprecated]           ...           12 years ago
  • 0.7.4 [deprecated]           ...           12 years ago
  • 0.7.3 [deprecated]           ...           12 years ago
  • 0.7.1 [deprecated]           ...           12 years ago
  • 0.7.0 [deprecated]           ...           12 years ago
  • 0.6.2 [deprecated]           ...           13 years ago
  • 0.6.0 [deprecated]           ...           14 years ago
  • 0.5.27 [deprecated]           ...           14 years ago
  • 0.5.25 [deprecated]           ...           14 years ago
  • 0.5.23 [deprecated]           ...           14 years ago
  • 0.5.22 [deprecated]           ...           14 years ago
  • 0.5.20 [deprecated]           ...           14 years ago
  • 0.5.15 [deprecated]           ...           14 years ago
  • 0.5.12 [deprecated]           ...           14 years ago
  • 0.5.11 [deprecated]           ...           14 years ago
  • 0.5.3 [deprecated]           ...           14 years ago
  • 0.5.2 [deprecated]           ...           14 years ago
  • 0.5.1 [deprecated]           ...           14 years ago
  • 0.4.15 [deprecated]           ...           14 years ago
  • 0.4.13 [deprecated]           ...           14 years ago
  • 0.4.7 [deprecated]           ...           14 years ago
  • 0.4.6 [deprecated]           ...           14 years ago
  • 0.4.4 [deprecated]           ...           14 years ago
  • 0.4.3 [deprecated]           ...           14 years ago
  • 0.4.1 [deprecated]           ...           14 years ago
  • 0.4.0 [deprecated]           ...           14 years ago
  • 0.3.1 [deprecated]           ...           14 years ago
  • 0.3.0 [deprecated]           ...           14 years ago
Maintainers (1)
Downloads
Total 129
Today 0
This Week 0
This Month 111
Last Day 0
Last Week 18
Last Month 0
Dependencies (3)
Dev Dependencies (13)

© 2010 - cnpmjs.org x YWFE | Home | YWFE