turn-off-display

0.2.0 • Public • Published

turn-off-display npm npm

Turns off the computer monitor/display/screen.

Supported operating systems

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.

How to install

npm install --save turn-off-display

How to use

var turnOffDisplay = require("turn-off-display");
try {
    turnOffDisplay();
}
catch (err) {
    // handle error
}

Related

License

MIT

/turn-off-display/

    Package Sidebar

    Install

    npm i turn-off-display

    Weekly Downloads

    11

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    4.35 kB

    Total Files

    5

    Last publish

    Collaborators

    • oledid