Skip to content

kevva/get-res

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-res Build Status

Get ten most popular screen resolutions

Install

$ npm install --save get-res

Usage

const getRes = require('get-res');

getRes().then(data => {
	console.log(data);
	// => [{item: '1366x768', percent: '20.34%'}, {item: '1280x800', percent: '9.23%'}, ...]
});

API

getRes()

Gets ten most popular screen resolutions from w3counter. Returns a promise that resolves to an array containing the results.

CLI

$ npm install --global get-res
$ get-res --help

  Usage
    $ get-res

License

MIT © Kevin Mårtensson

About

Get ten most popular screen resolutions

Resources

License

Stars

Watchers

Forks

Packages

No packages published