mouse-activity
v1.0.2
Published
## Install
Downloads
1
Readme
Mouse Activity
Install
npm i -s mouse-activity
Usage
import mouse from "mouse-activity"
mouse()
.active(() => console.log("active"))
.inactive(() => console.log("inactive"))
// .destroy(); // would stop the two func above from being called+listening to mouse movements