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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    7
  • 0.0.3
    0
  • 0.0.2
    1

Package Sidebar

Install

npm i keylogger.js

Weekly Downloads

8

Version

0.0.4

License

MIT

Unpacked Size

29.3 kB

Total Files

11

Last publish

Collaborators

  • aabuhijleh