Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

check-browser-info

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-browser-info

check browser basic info.[name, version, platform]

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

check-browser-info

check browser basic info.

BrowserInfo {name; version; platform}

name

Support mainstream browser ['Chrome', 'Safari', 'IE', 'Opera', 'Firefox', 'Edge', 'UC', 'Wechat', 'QQbroser']

version

version detail (eg: 62.0.3202.94), and support IE6, 7, 8, 9, 10, 11

platform

Most platforms are included ['Windows Phone', 'Windows', 'Android', 'Linux', 'UNIX', 'iphone', 'ipad', 'Mac']

Usage

Install
$ npm install --save-dev check-browser-info
Example
var BrowserInfo = require('check-browser-info');

BrowserInfo(); 
// BrowserInfo {name: 'Chrome', version: '62.0.3202.94', platform: Mac }
or

import BrowserInfo from "check-browser-info";

BrowserInfo();

Keywords

FAQs

Package last updated on 05 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc