
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
node-keylogger
Advanced tools
Simple node.js linux only(for now) keylogger using events.
It's working exactly as: https://github.com/Bornholm/node-keyboard
I just rewrote it as simple as possible without requiring any modules and using fs.createReadStream instead of fs.open.
npm install git+https://github.com/taosx/node-keylogger.git
var Keyboard = require('node-keylogger');
var k = new Keyboard('event0'); // 'event0' is the file corresponding to my keyboard in /dev/input/
k.on('keyup', console.log);
k.on('keydown', console.log);
k.on('keypress', console.log);
k.on('error', console.error);
Events
{
timeS: 1347572085, // Timestamp ( Seconds part )
timeMS: 741381, // Timestamp ( Microseconds part )
keyCode: 17, // Keyboard code
keyId: 'KEY_W', // Key ID /!\ Qwerty layout !
type: 'keypress', // Event type
dev: 'event2' // Device
}
Add support for windows Add support for osx
FAQs
Simple Node.js keylogger using event emitters
The npm package node-keylogger receives a total of 11 weekly downloads. As such, node-keylogger popularity was classified as not popular.
We found that node-keylogger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.