🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

node-win-mouse

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-win-mouse

nodejs 控制鼠标动作

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

node-win-mouse 模拟鼠标动作 类似鼠标精灵

npm install -g node-win-mouse

node-win-mouse 为操作系统级别模拟. 并非硬件驱动级别模拟

需要 64bit Winodws Nodejs 6.0.0 +

方法用途
moveTo控制鼠标移动
leftDown左键按下
leftUp左键弹起
rightDown右键按下
rightUp右键弹起
const WinMouse = require('node-win-mouse');
WinMouse.moveTo(200,300);
WinMouse.leftDown();
WinMouse.leftUp();
WinMouse.rightDown();
WinMouse.rightUp();
console.log(WinMouse); 

Keywords

按键精灵,鼠标精灵

FAQs

Package last updated on 10 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts