1.0.0 • Published 4 years ago
spam-keypress v1.0.0
spam-keypress
Node.js CLI that spams OS keypress events.
Installation
Install the CLI by running this command:
npm i -g spam-keypress
Usage
Usage: spam-keypress [options] <keys>
Spams OS keypress events.
You can specify special keys by enclosing the key name in '@' characters. Example:
$ spam-keypress "abc@enter@"
Options:
-V, --version output the version number
-w, --wait [ms] Time to wait before starting to spam. Expressed in milliseconds. (default: 0)
-t, --times [times] Repeats N times the keys sequence. (default: 1)
-i, --interval [ms] Time interval that must pass between each sequence. Expressed in milliseconds. (default: 0)
-h, --help output usage information
Known issues
On Windows, if installation fails with "MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe", run the following command from a shell with admin privileges:
npm install -g --production windows-build-tools
1.0.0
4 years ago