@rawcmd/typewriters
Version:
Collection of typewriters for styling command-line messages for Rawcmd.
12 lines (11 loc) • 363 B
TypeScript
import { TextBackground, TextColor } from '@rawcmd/text';
export interface TextTypewriterOptions {
reset?: boolean;
bold?: boolean;
dim?: boolean;
underline?: boolean;
inverse?: boolean;
color?: TextColor;
background?: TextBackground;
}
export declare function textTypewriter(options?: TextTypewriterOptions): (value?: any) => string;