UNPKG

global-input-tracker

Version:

Cross-platform global mouse and keyboard event tracker for Node.js, built with Rust and powered by napi-rs. Detect system-wide key presses and mouse movements in real time.

103 lines 2.5 kB
{ "name": "global-input-tracker", "version": "1.0.3", "description": "Cross-platform global mouse and keyboard event tracker for Node.js, built with Rust and powered by napi-rs. Detect system-wide key presses and mouse movements in real time.", "main": "loader.js", "repository": "git@github.com:acidbotmaker/global-input-tracker.git", "license": "MIT", "keywords": [ "napi", "native", "rust", "ffi", "global-input", "keyboard", "mouse", "input-tracker", "input-listener", "keylogger", "event-tracker", "node-addon", "system-hooks", "rdev", "electron" ], "files": [ "index.d.ts", "index.js", "loader.js", "dist/**/*" ], "engines": { "node": ">= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "scripts": { "artifacts": "napi artifacts", "build": "napi build --platform --release", "build:debug": "napi build --platform", "format": "run-p format:prettier format:rs format:toml", "format:prettier": "prettier . -w", "format:toml": "taplo format", "format:rs": "cargo fmt", "lint": "oxlint .", "prepublishOnly": "napi prepublish -t npm", "test": "ava", "version": "napi version", "prepare": "husky" }, "devDependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@napi-rs/cli": "^3.4.1", "@oxc-node/core": "^0.0.29", "@taplo/cli": "^0.7.0", "@tybys/wasm-util": "^0.10.0", "ava": "^6.4.0", "chalk": "^5.4.1", "husky": "^9.1.7", "lint-staged": "^16.1.2", "npm-run-all2": "^8.0.4", "oxlint": "^1.3.0", "prettier": "^3.6.0", "tinybench": "^4.0.1", "typescript": "^5.8.3" }, "lint-staged": { "*.@(js|ts|tsx)": [ "oxlint --fix" ], "*.@(js|ts|tsx|yml|yaml|md|json)": [ "prettier --write" ], "*.toml": [ "taplo format" ] }, "ava": { "extensions": { "ts": "module" }, "timeout": "2m", "workerThreads": false, "environmentVariables": { "OXC_TSCONFIG_PATH": "./__test__/tsconfig.json" }, "nodeArguments": [ "--import", "@oxc-node/core/register" ] }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all", "singleQuote": true, "arrowParens": "always" }, "packageManager": "yarn@4.9.2", "optionalDependencies": {} }