is-typings

0.0.1 • Public • Published

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

Support Me

https://patreon.com/morajabi

License

MIT © Mohammad Rajabifard

Package Sidebar

Install

npm i is-typings

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10 MB

Total Files

5

Last publish

Collaborators

  • morajabi