Socket
Book a DemoInstallSign in
Socket

ua-parser-js

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ua-parser-js

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

latest
Source
npmnpm
Version
2.0.7
Version published
Weekly downloads
9M
-9.14%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

Keywords

user-agent

FAQs

Package last updated on 09 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts