browser-result
v1.0.0
Published
Tool to detect browser type and version.
Downloads
3
Readme
Browser Detector
Mainly there are two objects that are used for browser detection which is as follows:
- navigator.appName - purpose is to determine the web browser
- navigator.appVersion - purpose is to determine the version of the web browser.
Information
Usage
Install
$ npm install --save-dev browser-result
Example
import browser from 'browser-result'
console.log(browser);
// {android: false chrome: true chrome_version: 97 gecko: false gecko_version: false ie: false ie_version: null ios: false mac: true safari: false webkit: true webkit_version: 537}