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: 6 months 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 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T21:56:39.000Z (over 7 years ago)
- Last Synced: 2024-10-30T14:54:41.000Z (11 months 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
[](https://www.npmjs.com/package/sendkeys)
[](https://www.npmjs.com/package/sendkeys)
[](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')
```