Imagine that a NodeJS module, when invoked from console, outputs some introductory messages and then waits for user input (click enter or esc). This module already has and d
You could use possibly use RobotJS for this.
Example code:
var robot = require("robotjs"); // Type user's password or something. robot.typeString("abc123");