Skip to content

willdoescode/globalkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)