user-agent-classifier
Regex-free, single-pass User-Agent classifier for
observability — extracts rendering engine, platform, mobile, WebView,
bot, and browser.
TypeScript Classifier
Test any User-Agent string (including your own
browser's) or pick from common presets to compare the parsed output
across libraries.
TypeScript Benchmarks
Run in-browser throughput benchmarks comparing
user-agent-classifier
against
ua-parser-js
(v1 & v2), bowser, and
device-detector-js.
Rust Classifier (WASM)
Test any User-Agent string and compare the JSON output
of user-agent-classifier
against woothee and user-agent-parser.
Rust Benchmarks (WASM)
Run in-browser WebAssembly throughput benchmarks comparing
user-agent-classifier
against woothee and
user-agent-parser.
Packages & Source
Available in both TypeScript (zero-dependency,
ESM-only) and Rust (no_std,
zero-allocation).