1.0.2 • Published 5 years ago
win-screenoff v1.0.2
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