New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

keyboard-auto-type

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyboard-auto-type

Node.js bindings for keyboard-auto-type

  • 0.1.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js bindings for keyboard-auto-type

This project exposes keyboard-auto-type as Node.js API.

Installation

npm i keyboard-auto-type

Usage

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);

Feedback

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.

License

MIT

FAQs

Package last updated on 17 Mar 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc