browser-capabilities
v1.1.4
Published
Detect browser capabilities from a user agent string.
Downloads
20,290
Maintainers
Keywords
Readme
browser-capabilities
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