1.0.1 • Published 7 months ago

@lazuee/win-mouse v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

win-mouse

win-mouse is 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-mouse

Usage

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

1.0.1

7 months ago

1.0.0

7 months ago