simple-keylogger
v1.0.0
Published
A simple Node.js package that logs keyboard input and displays it to the user
Maintainers
Readme
Simple KeyLogger
A simple Node.js package that logs keyboard input and displays it to the user.
Installation
npm install simple-keyloggerUsage
import KeyLogger from 'simple-keylogger';
// Create a new instance
const keyLogger = new KeyLogger();
// Start logging keys
keyLogger.start();
// To stop logging
keyLogger.stop();Features
- Simple keyboard event logging
- Start and stop functionality
- Clean exit with Ctrl+C
- ES Module support
Example
import KeyLogger from 'simple-keylogger';
const keyLogger = new KeyLogger();
keyLogger.start();
// The program will now log all keypresses until you press Ctrl+CLicense
ISC
