ayoubserti / node-iohook

Binding of libuiohook for nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-iohook

Binding of libuiohook for nodejs

About

This package help nodejs developer to catch events on mouse and keyboard and register callbacks on every events.

#requirements

  • Windows: VS2015
  • MAC: clang
  • Linux: GCC

#install

npm install node-iohook

#example

const hook = require('node-iohook')


hook.on('keydown', function(msg){
    console.log(msg);
});


hook.start();

#misc node-iohook work with last nodejs LTS as well as electron

About

Binding of libuiohook for nodejs


Languages

Language:C++ 37.3%Language:JavaScript 33.7%Language:CMake 29.0%