
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
keyboard-auto-type
Advanced tools
This project exposes keyboard-auto-type as Node.js API.
npm i keyboard-auto-type
You will find more docs in keyboard-auto-type project. Here's how to use it in Node.js:
const { AutoType, KeyCode, Modifier } = require('keyboard-auto-type');
const typer = new AutoType();
// get active window
const win = typer.activeWindow({ getWindowTitle: true, getBrowserUrl: true });
// print something
console.log('Going to type in this window', win);
// type some text
typer.text('Hello');
// press shift+1
typer.keyPress(KeyCode.D1, Modifier.Shift);
// select all
typer.shortcut(KeyCode.A);
Do you need a binding that is missing? Please create an issue here, I'll add it!
Found a bug in the implementation? Go to keyboard-auto-type, I'll be happy to help you there.
FAQs
Node.js bindings for keyboard-auto-type
We found that keyboard-auto-type demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.