A client that wraps the Node.js console and provides additional methods for logging, error handling, and user prompts.
GitHub - terkelg/prompts.
Prompt the user for confirmation.
The confirmation message.
Whether the user confirmed.
initial - The initial value for the confirmation prompt. Defaults to true.
true
Log an error message to stderr.
The error to log.
The error wrapped in a ClientError.
ClientError
Prompt the user for input.
The prompt options.
The user's input.
https://github.com/terkelg/prompts#-prompt-objects
A client that wraps the Node.js console and provides additional methods for logging, error handling, and user prompts.
See
GitHub - terkelg/prompts.