0.0.1 • Published 4 years ago
is-typings v0.0.1
is-typings
Get notified when user is typing in Node/Electron! (Works on macOS — Needs Accessability permission)
Install
$ npm install is-typings
Requires macOS 10.11 or later.
Usage
const isTypingListener = require("is-typings");
isTypingListener(event => {
if (event === "KEYDOWN") {
console.log("a key was pressed");
}
});
Inspired
Inspired by the one and only Sindre Sorhus. Support him on his Patreon: https://www.patreon.com/sindresorhus
- is-camera-on-cli - CLI for this module
Support Me
License
MIT © Mohammad Rajabifard
0.0.1
4 years ago