New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

computer-wakeup

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

computer-wakeup

Keep your computer awake for however long you want

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Computer Coffee

You know when you're running some tests on your computer that lasts a while, but if you're computer goes to sleep it will stop running, so you have to sit in front of your computer until it finishes? This problem is now solved with the Computer Coffee command line interface!  

Installation

npm i computer-coffee -g

Usage

coffee-drink

With the above command, your computer will have it's alt key pressed every thirty seconds until the program is stopped.
If you wish, you can change these settings.

Settings

By default, alt is pressed every thirty seconds until you kill the script, but you can change these settings.

You can set the key repeat delay by setting the enviroment variable COFFEE_INTERVAL.

export COFFEE_INTERVAL=5

The above command will set the delay to five seconds.
The delay can't have decimals.

You can set the key to be repeated by setting the enviroment varibale COFFEE_KEY.

export COFFEE_KEY=enter

The above command will have enter pressed at the interval.

You can set the stop time by setting the enviroment variable COFFEE_STOP.

export COFFEE_STOP=17:36

The above command will allow the computer to sleep at 17:36.
Time is in military time format.

FAQs

Package last updated on 02 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts