win-screenoff
v1.0.2
Published
A CLI tool for turning putting the monitor to sleep on Windows.
Downloads
5
Maintainers
Readme
win-screenoff
NodeJS module/CLI for putting your Windows 10 monitor to sleep through PowerShell
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