New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

screenres

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screenres

Cross platform screen resolution module and CLI too

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
18
125%
Maintainers
2
Weekly downloads
 
Created
Source

screenres

Cross platform screen resolution module and CLI tool

Usage

Programmatic

$ npm install screenres --save

get

var sr = require('screenres');
console.log(sr.get()); // [1440, 900]

set

var sr = require('screenres');
sr.set(800, 600));

CLI

$ npm install -g screenres

help

$ screenres --help

get

$ screenres
1440x900

set

$ screenres 800 600

Platforms

  • Windows
  • Linux
  • macOS

License

MIT

Acknowledgements

Sponsored by nearForm

Keywords

screen

FAQs

Package last updated on 19 Feb 2018

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