hookline

0.1.4 • Public • Published

hookline

About

Node.js global keyboard event listener based on iohook to read a line.

Installation

# TODO 
npm install hookline --save 

Example

'use strict';
const hookLine = require('hookline');
hookLine.on('data', data => console.log(data));
 
hookLine.start();

Manual Build

If you want to manually compile it, follow the instructions below.

Ubuntu 16

  • sudo apt install libx11-dev libxtst-dev libxt-dev libx11-xcb-dev libxkbcommon-dev libxkbcommon-x11-dev
  • npm run build

macOS

  • brew install cmake automake libtool pkg-config
  • npm run build

Windows

  • Install: msys2 with autotools, pkg-config, libtool, gcc, clang, glib, C++ Build Tools, cmake
  • npm run build

Readme

Keywords

Package Sidebar

Install

npm i hookline

Weekly Downloads

4

Version

0.1.4

License

MIT

Unpacked Size

1.67 MB

Total Files

96

Last publish

Collaborators

  • kevin3251