keylogger.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Keylogger.js

A simple Node.js keylogger for Windows and macOS

Prerequisites

Make sure you have node-gyp and its dependencies installed

Install

$ npm install keylogger.js

Usage

import keylogger from "keylogger.js";
// or
// const keylogger = require("keylogger.js");

keylogger.start((key, isKeyUp, keyCode) => {
  console.log("keyboard event", key, isKeyUp, keyCode);
});

Notes

The key value returned with the callback function passed to keylogger.start will match the browser's KeyboardEvent.key value as listed in this table

Readme

Keywords

Package Sidebar

Install

npm i keylogger.js

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

29.3 kB

Total Files

11

Last publish

Collaborators

  • aabuhijleh