1.0.0 • Published 4 months ago

@spark-enterprises/mousejigglerjs v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

GitHub stars GitHub stars GitHub stars GitHub stars GitHub stars GitHub stars

MouseJigglerJS

A mouse jiggler written in javascript to move your mouse and the computer doesn't fall asleep.

Requirements

Use the package manager section to install nodejs in different operating systems

https://nodejs.org/en/download/package-manager/

One of the following versions of Node.js must be installed to run npm:

  • 14.x.x >= 14.17.0
  • 16.x.x >= 16.13.0
  • 18.0.0 or higher

Windows:

> choco install nodejs
> node --version
v18.12.1
> npm --version
9.2.0s

Linux:

$ sudo apt update
$ sudo apt install -y nodejs
$ node --version
v18.12.1
$ npm --version
9.2.0

MacOS:

brew install node
node --version
v18.12.1
npm --version
9.2.0

Install

$ npm install -g mousejigglerjs

Usage

Keep the machine awake

$ mousejiggler

To stop the mouse movement

Ctrl + c

Set the delay of mouse move

$ mousejiggler --delay=10000

Turn off logo

$ mousejiggler --logo-off

Commands

CommandAliasDescription
--versionShow version number
--delay-dDelay of mouse move
--logo-offTurn off logo
--helpShow help

Notes

The time it takes the mouse to move is calculated in milliseconds. If you set a time below 5000ms and accidentally click outside the terminal, you may have trouble terminating the mousejigglerjs. By default time = 10000.

Ctrl + Alt + Delete