Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@prashant_cn/input-keylogger

prashant-cn21ISC1.1.2

Logging inputs from users Input Devices

input logger, input keylogger, keylogger, input, logger, keypress, keystrokes, windows, macos, log to file, keylog to file

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");\ }