is-typing-node

Calls a function when user presses a key

Usage no npm install needed!

<script type="module">
  import isTypingNode from 'https://cdn.skypack.dev/is-typing-node';
</script>

README

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");

(async () => {
    console.log(await getLocation());
    //=> 2.3455,34,33122
})();

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 © Sindre Sorhus