Mike f854f26cd6
feat: add TypeScript definitions for UAParser.js enums (#772)
Introduce TypeScript type definitions for UAParser.js version 2.0.0. 
This enhances type safety and autocompletion for enums related to 
browsers, CPUs, devices, vendors, engines, and operating systems in 
the project. These changes are made to improve developer experience 
and ensure consistent usage of the enums throughout the codebase.
2024-12-10 18:23:01 +07:00
2024-11-18 07:55:18 +07:00
2024-12-08 21:52:05 +07:00
2023-09-17 21:55:14 +07:00
2023-09-18 00:07:17 +07:00

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

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

Demo

Documentation

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

License Options

Open-Source Editions PRO / Commercial Editions
License options MIT (v0.7~v1.0) AGPL (>=v2.0) PRO Personal PRO Business PRO 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
Price FREE (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

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

OpenCollective GitHub Sponsors PayPal WeChat/Alipay

Description
"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
Readme 22 MiB
Languages
JavaScript 99.1%
TypeScript 0.6%
Shell 0.3%