JSPM

win-screenoff

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q13372F
  • License MIT

A CLI tool for turning putting the monitor to sleep on Windows.

Package Exports

  • win-screenoff

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (win-screenoff) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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