Complexity Score
Medium
Open Issues
11
Dependent Projects
893
Weekly Downloadsglobal
15,718,524
Downloads
Readme
UAParser.js
The most comprehensive, compact, & up-to-date isomorphic JavaScript library to detect user’s Browser, Engine, OS, CPU, and Device type/model. Runs either in browser (client-side) or node.js (server-side).
Demo
- Live demo: https://uaparser.dev
Documentation
version 1.x
: https://github.com/faisalman/ua-parser-js/tree/1.0.x#documentationversion 2.x
: https://docs.uaparser.dev
Before upgrading from v0.7
/ v1.0
, please read CHANGELOG to
see what’s new & breaking.
License Options
Open-Source Editions PRO / Commercial Editions License options MIT (v0.7~v1.0) AGPL (>=v2.0) PRO Personal PRO Business PRO Enterprise Browser detection ⚠️ ✅ ✅ ✅ ✅ CPU detection ⚠️ ✅ ✅ ✅ ✅ Device detection ⚠️ ✅ ✅ ✅ ✅ Engine detection ⚠️ ✅ ✅ ✅ ✅ OS detection ⚠️ ✅ ✅ ✅ ✅ Bot detection ❌ ✅ ✅ ✅ ✅ AI Bot detection ❌ ✅ ✅ ✅ ✅ Extras (Apps, Libs, Emails, Media Players, etc) detection ❌ ✅ ✅ ✅ ✅ Enhanced detection result ❌ ✅ ✅ ✅ ✅ Client Hints support ❌ ✅ ✅ ✅ ✅ CommonJS support ✅ ✅ ✅ ✅ ✅ ES modules support ❌ ✅ ✅ ✅ ✅ npm module ✅ ✅ ✅ ✅ ✅ TypeScript declarations ⚠️ ✅ ✅ ✅ ✅ Allows commercial use ✅ ✅ ❌ ✅ ✅ Permissive (non-copyleft) license ✅ ❌ ✅ ✅ ✅ Unlimited use per 1 license ✅ ✅ ✅ ❌ ✅ 1-year product support ❌ ❌ ✅ ✅ ✅ Lifetime updates ✅ ✅ ✅ ✅ ✅ Price FREE (License) FREE (License) $14 (License) $29 (License) $599 (License)GET THE PRO PACKAGES 📥
Development
Contributors
Please read CONTRIBUTING guide first for the instruction details.
Made with contributors-img.
Backers & Sponsors
You can support the open-source editions of UAParser.js through one of the following options:
Dependencies
Loading dependencies...
CVE IssuesActive
0
Scorecards Score
8.10
Test Coverage
No Data
Follows Semver
Yes
Github Stars
9,557
Dependenciestotal
14
DependenciesOutdated
5
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No
Learn how to distribute ua-parser-js in your own private NPM registry
$npm config set registry
https://npm.cloudsmith.com/owner/repo
/Processing...
✓Done
$npm install ua-parser-js
/Processing...
✓Done
88 Releases
NPM on Cloudsmith