Node.js global keyboard and mouse hook
Last updated 25 days ago by steerapi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @steerapi/iohook 
SYNC missed versions from official npm registry.


Build status Build Status Gitter chat NPM version


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.

Platform support

  • Versions >= 0.6.0 support only officially supported platforms versions.
  • Versions 0.5.X are the last to support Electron < 4.0.0
  • Versions 0.4.X are the last to support for Node < 8.0 and Electron < 2.0.0


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

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 ?

A. We try to match the currently supported version of both Node and Electron.


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


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 !

Current Tags

  • 0.6.11                                ...           latest (25 days ago)

4 Versions

  • 0.6.11                                ...           25 days ago
  • 0.6.10                                ...           25 days ago
  • 0.6.9                                ...           25 days ago
  • 0.6.8                                ...           25 days ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 42
Dependencies (9)
Dev Dependencies (8)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |