> Node.js Desktop Automation for Windows. Precise thread sleep, emulate the mouse and keyboard.
npm install winapi-js
npm install winapi-js
`
Install with yarn:
`
yarn add winapi-js
`
Example
`js
const api = require("winapi-js");
api.sleepSync(1.01);
const { x, y } = api.getCursorPos();
api.setCursorPos(x, y);
``