promptSecret(message?: string,options?: PromptSecretOptions,): string | null
Shows the given message and waits for the user's input. Returns the user's input as string.
This is similar to prompt() but it print user's input as * to prevent password from being shown.
Use an empty mask if you don't want to show any character.
optional
message: string = Secret
The prompt message to show to the user.
optional
options: PromptSecretOptions
The options for the prompt.
string | null
The string that was entered or null if stdin is not a TTY.