Skip to content

Get browser result object with detailed info on user's browser.

Notifications You must be signed in to change notification settings

stckme/browser-result

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

Packagebrowser-result
Description Get browser info

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} 

PRs welcome for additional features

About

Get browser result object with detailed info on user's browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published