win-screenoff

1.0.2 • Public • Published

win-screenoff Build Status

NodeJS module/CLI for putting your Windows 10 monitor to sleep through PowerShell

Github | NPM | Travis

Install

$ npm i -g win-screenoff

Usage

Through CLI:

$ screenoff

As a module:

const screenoff = require('win-screenoff')
 
const main = async () => {
  await screenoff()
}
main()

License

MIT © Joakim Hedlund

Install

npm i win-screenoff

DownloadsWeekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.5 kB

Total Files

8

Last publish

Collaborators

  • sleavely