0.0.1 • Published 3 years ago
consolewatchrc v0.0.1
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();
0.0.1
3 years ago