Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static promptForInput(message: string): string {
const prompt = require("readline-sync");
prompt.setDefaultOptions({mask: "", hideEchoBack: true});
return prompt.question(message);
}