Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 492 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 492 Bytes

npm downloads

GlobalKey

Building

cargo install nj-cli

nj-cli build --release

Calling from node

npm i globalkey

# or

yarn add globalkey
const globalkey = require('globalkey');

globalkey
    .start(x => console.log(`Keydown ${x}`), y => console.log(`Keyup ${y}`));


setTimeout(() => globalkey.stop(), 5000)