Works with
•JSR Score64%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
promptSecret(): string | null
message?,
unnamed 1?: PromptSecretOptions
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.
Type Aliases
T
PromptSecretOptions = { mask?: string; clear?: boolean; }
No documentation available