ua-parser-js
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment

ua-parser-js downloads ua-parser-js version ua-parser-js license

ua-parser-jsSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on ua-parser-js's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of ua-parser-js](https://npm-compare.com/img/npm-trend/THREE_YEARS/ua-parser-js.png)](https://npm-compare.com/ua-parser-js#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on ua-parser-js's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of ua-parser-js](https://npm-compare.com/img/github-trend/ua-parser-js.png)](https://npm-compare.com/ua-parser-js)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
ua-parser-js19,159,7049,8991.28 MB2318 days agoAGPL-3.0-or-later
README for ua-parser-js

Featured Sponsors

https://ref.wisprflow.ai/Rxj3n8H


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

  • Live demo: https://uaparser.dev

Documentation

  • version 1.x : https://github.com/faisalman/ua-parser-js/tree/1.0.x#documentation
  • version 2.x : https://docs.uaparser.dev

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

Package & Pricing

Open-Source EditionsPRO / Commercial Editions
License optionsMIT (v1.x)AGPL (v2.x)PRO PersonalPRO BusinessPRO 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βœ…βœ…βœ…βœ…βœ…
PriceFREE* (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

Support the open-source editions of UAParser.js through one of the following options:

OpenCollective GitHub Sponsors PayPal WeChat/Alipay