Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-res

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-res

Get ten most popular screen resolutions

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
400
decreased by-28.95%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 05 Oct 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc