consolewatchrc
v0.0.1
Published
consol tester
Downloads
1
Readme
consolewatchrc
Console key watcher
init
const watch = new (require('consolewatchrc')).Base();
add function
watch.add(
['a','b','c','],
(key)=>{dosomething{key);}
);
start watching
watch.watch();
stop watching
watch.stop();
clear all keys
watch.clear();