faisalman/ua-parser-js

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

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).

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

Open-Source EditionsPRO / Commercial Editions
License optionsMIT (v0.7~v1.0)AGPL (>=v2.0)PRO PersonalPRO BusinessPRO 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
PriceFREE (License)FREE (License)$14 (License)$29 (License)$599 (License)

Please read CONTRIBUTING guide first for the instruction details.

Made with contributors-img.

You can support the open-source editions of UAParser.js through one of the following options:

OpenCollectiveGitHub SponsorsPayPalWeChat/Alipay