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


Keywords
user-agent, client-hints, parser, browser, engine, os, device, cpu, jquery-plugin, ecosystem:jquery, ua-parser-js, browser-detection, device-detection, os-detection, device-detector, hacktoberfest, hacktoberfest-accepted, javascript-library, mobile-detection, user-agent-parser
License
Other
Install
npm install ua-parser-js@0.7.27

Documentation

UAParser.js

The most comprehensive, compact, & up-to-date 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).

License Options

Open-Source Editions PRO / Commercial Editions
License options MIT AGPL PRO Personal PRO Business PRO Enterprise
Browser detection ⚠️ βœ… βœ… βœ… βœ…
CPU detection ⚠️ βœ… βœ… βœ… βœ…
Device detection ⚠️ βœ… βœ… βœ… βœ…
Engine detection ⚠️ βœ… βœ… βœ… βœ…
OS detection ⚠️ βœ… βœ… βœ… βœ…
Enhanced detection ⛔️ βœ… βœ… βœ… βœ…
Client Hints support ⛔️ βœ… βœ… βœ… βœ…
Extras (Apps, Bots, Libs, Emails, Media Players, etc) ⛔️ βœ… βœ… βœ… βœ…
CommonJS support βœ… βœ… βœ… βœ… βœ…
ES modules support ⛔️ βœ… βœ… βœ… βœ…
npm module available βœ… βœ… βœ… βœ… βœ…
TypeScript declarations available ⚠️ βœ… βœ… βœ… βœ…
Allowed for commercial use βœ… βœ… ⛔️ βœ… βœ…
Permissive (non-copyleft) license βœ… ⛔️ βœ… βœ… βœ…
Unlimited use per 1 license βœ… βœ… βœ… ⚠️ βœ…
1-year support ⛔️ ⛔️ βœ… βœ… βœ…
Lifetime updates βœ… βœ… βœ… βœ… βœ…
Price FREE FREE $12 $25 $500
GET THE PRO PACKAGES πŸ“₯

Version 2.0

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

Documentation

Development

Contributors

Large or small, your contribution is valuable here. Please read CONTRIBUTING guide first for the instruction details.

Made with contributors-img.

Backers & Sponsors