package
Detect browser capabilities from a user agent string.
npm install browser-capabilitiesGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
A JavaScript library that detects browser capabilities from a user agent string.
The following keywords are supported. See browser-capabilities.ts for the latest browser support matrix.
| Keyword | Description |
|---|---|
| push | HTTP/2 Server Push |
| serviceworker | Service Worker API |
| modules | JavaScript Modules (including dynamic import() and import.meta) |
| es2015 | ECMAScript 2015 (aka ES6) |
| es2016 | ECMAScript 2016 |
| es2017 | ECMAScript 2017 |
| es2018 | ECMAScript 2018 |
aomarks
aomarks@gmail.com
Estimated unpacked size across 6 packages.
1.3 MB
Includes dependencies.