$ npm install ua-parser-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).
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 (License) | FREE (License) | $12 (License) | $25 (License) | $500 (License) |
GET THE PRO PACKAGES 📥 |
Before upgrading from v0.7
/ v1.0
, please read CHANGELOG to
see what's new & breaking.
Please read CONTRIBUTING guide first for the instruction details.
Made with contributors-img.
© 2010 - cnpmjs.org x YWFE | Home | YWFE