Socket
Book a DemoInstallSign in
Socket

get-browsers

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-browsers

Get ten most popular web browsers

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

get-browsers Build Status

Get ten most popular web browsers

Install

$ npm install --save get-browsers

Usage

const getBrowsers = require('get-browsers');

getBrowsers().then(data => {
	console.log(data);
	//=> [{item: 'Chrome 34', percent: '20.71%'}, {item: 'Firefox 28', percent: '13.04%'}, ...]
});

API

getBrowsers()

Returns a promise for an array with the ten most popular web browsers from w3counter

CLI

$ npm install --global get-browsers
$ get-browsers --help

  Usage
    $ get-browsers

License

MIT © Kevin Mårtensson

Keywords

browser

FAQs

Package last updated on 11 Apr 2016

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