mouse-hooks
v0.4.1
Published
Global mouse events listener for Node.js
Downloads
66
Maintainers
Readme
mouse-hooks
Global mouse events listener for Node.js
Installation
$ npm install mouse-hooks
Quick example
import mouseHooks from "mouse-hooks";
mouseHooks.on("mouse-up", data => {
console.log(data.x, data.y, data.button);
});