A robust, low-latency autoclicker utility built with JavaScript for automation-heavy workflows. Designed for performance, it leverages low-level event simulation to handle repetitive UI tasks with high precision.
- Jitter-Free Automation: Implements a stable interval loop to ensure consistent click frequency without drift.
- Targeted Coordinates: Supports pixel-perfect screen mapping to interact with specific UI elements regardless of resolution.
- Customizable Intervals: Easily define delay periods between clicks to prevent trigger detection and manage resource consumption.
- Headless Capability: Operates efficiently in non-GUI environments, making it ideal for integration into larger Node.js testing suites.
Ensure you have Node.js installed. Initialize the package in your project directory:
npm install tediousservi-utilsFor global utility access, install via npm globally:
npm install -g tediousservi-utilsImport the utility into your project to start automating click sequences. The following example demonstrates a basic 50ms click interval targeted at screen coordinates (500, 500).
const { AutoClicker } = require('tediousservi-utils');
const bot = new AutoClicker({
interval: 50,
coordinates: { x: 500, y: 500 }
});
// Start the clicker
bot.start();
// Stop after 10 seconds
setTimeout(() => bot.stop(), 10000);This project is licensed under the MIT License - see the LICENSE file for details.