Description
iohook is a Node.js module for listening to global keyboard and mouse events from native hooks, inside and outside your JavaScript or TypeScript application. It works through native code, and the README says it does not require Java or any other runtime, unlike some similar libraries. It ships prebuilt binaries for several operating systems and platforms, and it supports Linux, including WSL, through its own install steps. The version notes say versions from 0.6.0 support only officially supported platform versions, that 0.5.x was the last to support Electron versions before 4.0.0, and that 0.4.x was the last to support Node versions before 8.0. The project tries to match the currently supported versions of Node and Electron. The README lists projects that use iohook, including Cortex, Tracklify, CrewLink and Runtime. The contributors list credits the libuiohook project and a prototype author, along with people who worked on the prebuild system, Windows fixes, Electron support and mouse click propagation settings. The module is aimed at developers building desktop tools or Electron apps that need to respond to keyboard and mouse input while the app is not focused.…
Highlights
- Global keyboard and mouse events from native hooks
- Prebuilt binaries for several platforms
- No Java or extra runtime needed
- Works in Node.js and Electron apps
- Mouse click propagation setting
Ratings & Reviews
No ratings yet
Be the first to rate Iohook.
People also visit
Iohook FAQ
What does iohook do?
It listens for global keyboard and mouse events from native hooks, even when your app is not focused.
Does it need Java?
No. The README says it does not require Java or any other runtime.
Which Electron and Node versions does it support?
The project tries to match the currently supported versions of Node and Electron. Version 0.5.x was the last to support Electron before 4.0.0.
How do I install it?
It has prebuilt binaries. The README gives separate installation steps for Linux, including WSL, and for all other platforms.
Is there a list of apps using it?
Yes. The README lists projects including Cortex, Tracklify, CrewLink and Runtime, and asks others to add theirs.
Is it open source?
Yes. The source is on GitHub under the wilix-team organization.
What are the best Iohook alternatives?
Popular alternatives to Iohook include Node Hid, Is Hotkey and Global Hotkey. See all Iohook alternatives
