Node.js global native keyboard and mouse listener.
Check out the documentation.
iohook provides prebuilt version for a bunch of OSes and platforms.
# On Linux (including WSL) platform, you will need libxkbcommon-x11 installed sudo apt-get install -y libxkbcommon-x11-0
npm install iohook --save # or yarn add iohook
Q. Does this module require Java ?
A. No, this module doesn't require Java (like jnativehook) or any other runtimes.
Q. Is iohook compatible with Node/Electron version X.Y.Z ?
Are you using iohook in your project ? Please tell us in a PR so we an add it to the list !