1.0.1 • Published 7 months ago
@lazuee/win-mouse v1.0.1
win-mouse
win-mouseis a Windows-based mouse tracking that reports screen coordinates of mouse events, including when other applications are active in the foreground.
Installation
Install the package:
pnpm add -D @lazuee/win-mouseUsage
import { WinMouse } from "@lazuee/win-mouse";
const mouse = new WinMouse();
mouse.on("mouse", console.log);
setTimeout(() => mouse.destroy(), 5_000);For a usage example, check the test/ directory.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Copyright © 2025 lazuee