hookline based on iohook
npm install hooklineNode.js global keyboard event listener based on iohook to read a line.
``bash`TODO
npm install hookline --save
`javascript
'use strict';
const hookLine = require('hookline');
hookLine.on('data', data => console.log(data));
hookLine.start();
`
If you want to manually compile it, follow the instructions below.
- npm run build$3
- brew install cmake automake libtool pkg-config
- npm run build$3
- Install: msys2 with autotools, pkg-config, libtool, gcc, clang, glib, C++ Build Tools, cmake
- npm run build`