fallout-utility
Version:
<h1 align="center"> fallout-utility <br> </h1>
16 lines (15 loc) • 424 B
TypeScript
/// <reference types="node" />
export interface PromptOptions {
text?: string | Buffer | Uint8Array;
echo?: string;
repeatIfEmpty?: boolean;
repeat?: boolean;
sigint?: boolean;
eot?: boolean;
exitStrings?: string[];
}
/**
* Prompts the user for input
* @deprecated Use something like `inquirer` package instead
*/
export declare function input(prompt?: string | PromptOptions): string | null;