
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
JSAutoGUI is an npm package for node.js. Inspired by pyautogui from python. (but noticably faster and better)
JSAutoGUI is an npm package for Node.js. Inspired by pyautogui from Python (but noticeably faster and better).

You can install jsautogui to your project by typing this in your terminal:
Linux Dependencies: If you are on Linux (Ubuntu/Debian), install the required dependencies first:
sudo apt-get install -y libxtst-dev libx11-dev
Windows Dependencies: If you are on Windows, you need the build tools to compile the C++ addon.
Install Package:
npm install jsautogui
After this, you can start using the package by importing it:
import jsautogui from "jsautogui"; // in modulejs
// or
const jsautogui = require("jsautogui"); // in commonjs
This project mixes C++ (for native system calls) and TypeScript (for the Node.js interface).
Clone the project and install dependencies:
git clone [https://github.com/OguzhanUmutlu/jsautogui.git](https://github.com/OguzhanUmutlu/jsautogui.git)
cd jsautogui
npm install
This project is configured to work seamlessly with CLion for both C++ and TypeScript development.
jsautogui folder in CLion.CMakeLists.txt file automatically. This provides full IntelliSense for the native
code in src/.index.ts directly. CLion uses the included tsconfig.json to handle syntax
highlighting and errors.Since this project uses TypeScript, you need to compile the TS files and build the C++ addon. I have set up a script to handle this automatically:
# Compiles TypeScript and rebuilds the C++ addon
npm run build
To ensure your changes work as expected, you can use the built-in test scripts defined in package.json.
Run tests (fast): If you have already built the project and just changed the test logic:
npm run test
Build & Run tests (full): If you have modified C++ or TypeScript source code and want to verify everything:
npm run test-build
FAQs
JSAutoGUI is an npm package for node.js. Inspired by pyautogui from python. (but noticably faster and better)
The npm package jsautogui receives a total of 12 weekly downloads. As such, jsautogui popularity was classified as not popular.
We found that jsautogui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.