get-browsers

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i get-browsers

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • kevva