1.0.9 • Published 3 years ago
@sheriffmoose/stay-awake v1.0.9
Installation
Simply run
npm i -g @sheriffmoose/stay-awakeNow you will be able to run
stay-awakePM2
If you would like to run this with pm2 to run indefinitely, simply run stay-awake pm2 which will use your pm2 instance to start stay-awake in the background.
How it works
This tool simply mimics a ScrollLock button press every 150 seconds. This way your machine will stay awake even if you are away.
Monitor Off Hotkey
To turn off monitor, use the hotkey Window(Meta) + Alt + O.