Skip to content

Latest commit

 

History

History

globalkey

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)