1 | [![NPM version](http://img.shields.io/npm/v/browser-capabilities.svg)](https://www.npmjs.com/package/browser-capabilities)
|
2 |
|
3 | # browser-capabilities
|
4 |
|
5 | A JavaScript library that detects browser capabilities from a user agent string.
|
6 |
|
7 | The following keywords are supported. See [browser-capabilities.ts](https://github.com/Polymer/tools/blob/master/packages/browser-capabilities/src/browser-capabilities.ts) for the latest browser support matrix.
|
8 |
|
9 | | Keyword | Description
|
10 | | :---- | :----
|
11 | | push | [HTTP/2 Server Push](https://developers.google.com/web/fundamentals/performance/http2/#server-push)
|
12 | | serviceworker | [Service Worker API](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers)
|
13 | | modules | [JavaScript Modules](https://www.chromestatus.com/feature/5365692190687232) (including dynamic `import()` and `import.meta`)
|
14 | | es2015 | [ECMAScript 2015 (aka ES6)](https://developers.google.com/web/shows/ttt/series-2/es2015)
|
15 | | es2016 | ECMAScript 2016
|
16 | | es2017 | ECMAScript 2017
|
17 | | es2018 | ECMAScript 2018
|
18 |
|