Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-key-sender

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-key-sender - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

key-sender.js

@@ -115,3 +115,3 @@ var exec = require('child_process').exec;

var command = 'java -jar \'' + jarPath + '\' ' + arrParams.join(' ') + module.getCommandLineOptions();
var command = 'java -jar \"' + jarPath + '\" ' + arrParams.join(' ') + module.getCommandLineOptions();

@@ -118,0 +118,0 @@ return exec(command, {}, function(error, stdout, stderr) {

{
"name": "node-key-sender",
"version": "1.0.10",
"version": "1.0.11",
"description": "NodeJs lib to send keyboard input to the operational system.",

@@ -5,0 +5,0 @@ "main": "key-sender.js",

@@ -5,3 +5,3 @@ # node-key-sender

It uses a jar file (Java), so Java Run Time is required on the operational system you are running your node project.
It uses a jar file (Java), so Java Run Time is required on the operational system you are running your node project (version 8 or above).

@@ -21,3 +21,4 @@ **Bugs and issues**: Please, post any issues to https://github.com/garimpeiro-it/node-key-sender/issues.

- Multi platform (it will work in all operation systems that Java can run);
- It will send the key to the current focused application in the operational system.
- It will send the key to the current focused application in the operational system;
- It is sensitive to the operational system, keyboard driver and phisical keyboard installed on the running platform.

@@ -284,3 +285,3 @@ # Installation

We recommend you search for key codes in the Java [java.awt.event.KeyEvent](https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html) class doc. The key codes are the constants starting with "VK_". To use it with this lib, just take out these three letters and you can use the rest of the constant name. For example, VK_SHIFT constant you use "shift". VK_A constant you use 'a'. The constant numerical value can also be used with an "@" in the beginning. So "@16" for VK_SHIFT and "@65" for VK_A.
We recommend you search for key codes in the Java [java.awt.event.KeyEvent](https://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html) class doc. The key codes are the constants starting with "VK_". To use it with this lib, just take out these three letters and you can use the rest of the constant name in lowercase. For example, VK_SHIFT constant you use "shift". VK_A constant you use 'a'. The constant numerical value can also be used with an "@" in the beginning. So "@16" for VK_SHIFT and "@65" for VK_A.

@@ -287,0 +288,0 @@ Use this website to get an idea of what key code is bound to each key of your current keyboard: https://www.w3.org/2002/09/tests/keys.html.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc