@prashant_cn/input-keylogger
v1.1.2
Published
Logging inputs from users Input Devices
Downloads
9
Maintainers
Readme
Input Keylogger
const inputLogger = require('@prashant_cn/input-keylogger');
inputLogger.logEverything(logInput)
inputLogger.logStatements(logStatement)
function logInput({ key, isKeyUp, keyCode }) {
console.log({ key, isKeyUp, keyCode });
}
function logStatement(statement) {
console.log(statement, "Statement");
}