Turns off the computer monitor/display/screen.
This package only supports Windows and OS X >= 10.9 for now. If you want to add support for another operating system, please submit a pull-request.
npm install --save turn-off-display
var turnOffDisplay = require("turn-off-display");
try {
turnOffDisplay();
}
catch (err) {
// handle error
}
- oledid-js/turn-off-display-cli - CLI for this module