sendkeys Emulate the keyboard over node. No external module needed, but depends on Powershell being in the PATH. usage const sendkeys = require('sendkeys')import sendkeys from 'sendkeys' sendkeys('foobar') .then(() => console.log('success')) sendkeys.sync('this is synchronous')