Get ten most popular web browsers
$ npm install --save get-browsers
const getBrowsers = require('get-browsers');
getBrowsers().then(data => {
console.log(data);
//=> [{item: 'Chrome 34', percent: '20.71%'}, {item: 'Firefox 28', percent: '13.04%'}, ...]
});
Returns a promise for an array with the ten most popular web browsers from w3counter
$ npm install --global get-browsers
$ get-browsers --help
Usage
$ get-browsers
MIT © Kevin Mårtensson