1.1.1 • Published 10 months ago

@mechakeys/iohook v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

iohook is a global native keyboard and mouse listener for Node.js. This is a fork of https://github.com/wilix-team/iohook, which is abandoned and unmainntained.

We provide a modern CI pipeline for easy, fast, reliable, builds of iohook for modern versions of Node and Electron. At Robolab, we use this library in MechaKeys, the integrated typing environment.

Supported Versions

  • Versions >= 0.9.4 support Electron 25 and Node 18
  • For older version support, use the wilix-team library

Installation

# Install MechaKeys iohook
npm install --save @mechakeys/iohook
# Install prebuilt binaries for your platform, architecture, and ABIs.
cd ./node_modules/@mechakeys/iohook
npm i
node install.js

By default, prebuilds will be downloaded for your own platform and architecture, but you can download specific ones through your package.json:

"iohook": {
    "targets": [
        "node-108",
        "electron-116"
    ],
    "platforms": [
        "win32",
        "darwin",
        "linux"
    ],
    "arches": [
        "x64",
    ]
}

As of right now, we do not build 32-bit versions.

1.1.1

10 months ago

1.1.0

10 months ago

0.9.9

10 months ago

0.9.8

10 months ago

0.9.6

10 months ago

0.9.5

10 months ago

0.9.4

10 months ago