Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DayBr3ak/node-sendkeys
Keyboard emulation over nodejs
https://github.com/DayBr3ak/node-sendkeys
emulation javascript keyboard keys no-dependencies node nodejs sendkeys
Last synced: 11 days ago
JSON representation
Keyboard emulation over nodejs
- Host: GitHub
- URL: https://github.com/DayBr3ak/node-sendkeys
- Owner: DayBr3ak
- Created: 2018-04-28T14:34:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T21:56:39.000Z (over 6 years ago)
- Last Synced: 2024-10-30T14:54:41.000Z (20 days ago)
- Topics: emulation, javascript, keyboard, keys, no-dependencies, node, nodejs, sendkeys
- Language: JavaScript
- Size: 49.8 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sendkeys
[![npm](https://img.shields.io/npm/v/sendkeys.svg?style=flat-square)](https://www.npmjs.com/package/sendkeys)
[![npm](https://img.shields.io/npm/dm/sendkeys.svg?style=flat-square)](https://www.npmjs.com/package/sendkeys)
[![npm](https://img.shields.io/npm/l/sendkeys.svg?style=flat-square)](https://www.npmjs.com/package/sendkeys)Emulate the keyboard over node.
No external module needed, but depends on Powershell being in the PATH.
## usage
```javascript
const sendkeys = require('sendkeys')
import sendkeys from 'sendkeys'sendkeys('foobar')
.then(() => console.log('success'))sendkeys.sync('this is synchronous')
```