Browserslist Useragent Matcher

JSON →
library 4.0.0 ·javascript
verified May 27, 2026

browserslist-useragent is a utility library designed to determine if a given browser user agent string satisfies a specified browserslist query. The current stable version, 4.0.0, marks a significant rewrite in TypeScript and a switch from the 'useragent' parsing library to 'ua-parser-js', which may introduce subtle differences in how user agents are classified. This library seamlessly integrates with existing browserslist configurations found in project files like `.browserslistrc` or `package.json`, but also provides options for explicitly defining browser queries. It supports a comprehensive range of popular browsers, including Chrome, Firefox, Safari, Edge, and Internet Explorer, offering granular control over version matching through options like ignoring patch or minor versions, or allowing higher versions than specified. While there isn't a fixed release cadence, updates are regularly issued to incorporate bug fixes, add support for new browsers, and improve the underlying parsing logic.

total hits 22
actors 8 distinct systems
last hit 6d ago MetaBot
ByteDance
5
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France