Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

sentialx/mouse-hooks

Repository files navigation

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