Node.js global keyboard and mouse listener.
  • C 81.7%
  • M4 5.4%
  • JavaScript 5.2%
  • C++ 3.8%
  • Roff 1.6%
  • Other 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-07-11 11:05:57 +02:00
.github add github templates for issues and PRs 2018-03-19 18:16:50 +01:00
docs Add documentation 2019-04-09 13:48:12 +01:00
examples + Fix cross compilation for linux x64 2018-02-18 13:45:46 +03:00
libuiohook Make bootstrap.sh POSIX-test-compatible 2018-11-01 01:29:10 +00:00
src Added alt, ctrl and meta 2018-05-10 20:43:01 +02:00
test/specs Add the ability to track rawcodes and keycodes 2018-11-07 20:18:25 +01:00
.gitignore Added full documentation 2018-05-08 17:45:06 +02:00
.npmignore + Fix cross compilation for linux x64 2018-02-15 11:41:30 +03:00
.travis.yml change 32b arch name in travis build 2018-11-01 13:16:18 +01:00
_config.yml Set theme jekyll-theme-midnight 2018-05-10 12:49:41 +03:00
appveyor.yml Try switching to VS2017 2019-03-08 13:28:38 +00:00
build.js use arg 'arch' for cmakejs 2019-05-27 21:32:55 +08:00
CHANGELOG.md chore: bump version 2019-07-11 11:05:57 +02:00
CMakeLists.txt feat: add electron 4+ win support 2019-03-28 20:00:26 +01:00
deploy-docs.sh feat: drop segfault-handler dependency 2018-12-17 09:09:18 +01:00
index.d.ts Add the ability to track rawcodes and keycodes 2018-11-07 20:18:25 +01:00
index.js Fix NPE when trying to call releaseCallback 2018-12-28 13:52:30 -06:00
install.js Guard against errors while reading npm config 2019-07-10 14:14:31 +01:00
LICENSE Initial commit 2016-12-10 21:28:53 +03:00
package-lock.json Add commandline options to build.js 2019-04-08 18:24:36 +01:00
package.json chore: bump version 2019-07-11 11:05:57 +02:00
README.md chore: bump version, update README 2019-06-11 15:20:34 +02:00

iohook

Build status Build Status Gitter chat NPM version

About

Node.js global native keyboard and mouse listener.

This module can handle keyboard and mouse events via native hooks inside and outside your JavaScript/TypeScript application.

Found a bug? Have an idea? Feel free to post an issue or submit a PR.

Check out the documentation.

Note for Node > 8.0 and Electron > 2.0.0 users: version v0.5.0 drops support for old platforms versions. Please use the the 0.4.X versions.

Installation

iohook provides prebuilt version for a bunch of OSes and platforms.

npm install iohook --save # or yarn add iohook

FAQ

Q. Does this module require Java ?

A. No, this module doesn't require Java (like jnativehook) or any other runtimes.

Apps

Are you using iohook in your project ? Please tell us in a PR so we an add it to the list !

Contributors

Thanks to kwhat for the libuiohook project and ayoubserti for the first iohook prototype.

  • vespakoen (prebuild system implementation)
  • matthewshirley (Windows prebuild fix)
  • djiit (project & community help)
  • ezain (add feature enable/disable mouse click propagation)
  • anoadragon453 (electron 4+ support)
  • All the other contributors. Feel free to extend this list !