JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q36147F
  • License MIT

Get ten most popular web browsers

Package Exports

  • get-browsers

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-browsers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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