@teaui/core
Version:
A high-level terminal UI library for Node
20 lines (19 loc) • 1.03 kB
TypeScript
export declare const RESET = "\u001B[0m";
export declare const BG_DRAW = "\u0014";
export declare function styled(input: string, attr: string): string;
export declare function style(attr: string): string;
export declare function ansi(code: number, input: string): string;
export declare function bold(input: string): string;
export declare function dim(input: string): string;
export declare function italic(input: string): string;
export declare function underline(input: string): string;
export declare function invert(input: string): string;
export declare function hide(input: string): string;
export declare function strikeout(input: string): string;
export declare function red(input: string): string;
export declare function green(input: string): string;
export declare function yellow(input: string): string;
export declare function blue(input: string): string;
export declare function magenta(input: string): string;
export declare function cyan(input: string): string;
export declare function gray(input: string): string;