An implementation of pyautogui to node.js
npm install jsautoguiconst jsautogui = require("jsautogui");jsautogui.ready().then(() => {
console.log("JAG is ready!");
});autogui.screenshot("test.png").then(() => {
console.log("Saved the screenshot!");
});