1.1.15 • Published 11 months ago

@enfpdev/napi-rs-enigo v1.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

napi-rs-enigo: Node.js Wrapper for Enigo

A Node.js wrapper for the Enigo Rust library, providing a native interface for simulating input events like keyboard and mouse actions.

Features

  • Simulate mouse events (move, click, scroll).
  • Simulate keyboard events (press, release, type).

Requirements

  • Node.js 10 or later
  • Rust toolchain

Installation

Use npm to install the library:

yarn add @enfpdev/napi-rs-enigo

Usage

import {
  moveMouseRel,
  moveMouseAbs,
  mouseClick,
  mouseDown,
  mouseUp,
  mouseScroll
} from "napi-rs-enigo"

moveMouseRel(100, 100));
moveMouseAbs(100, 100));
mouseClick('rigtht'));
mouseDown('left'));
mouseUp('middle'));
mouseScroll(100, true));

Contribute

Coffee fuels coding ☕️

1.1.12

11 months ago

1.1.11

11 months ago

1.1.15

11 months ago

1.1.14

11 months ago

1.1.13

11 months ago

1.1.10

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago