Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 290 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 290 Bytes

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();