/display-control

A node module to control the screen display

Primary LanguageJavaScript

display-control

A node module that supports sleeping and waking the display. Supports Windows, Mac and Linux.

Installation

$ npm install display-control

How to use

var displaycontrol = require("display-control");

displaycontrol.sleep();
displaycontrol.wake();