acquerello
Version:
Template based terminal coloring made really easy.
8 lines (7 loc) • 437 B
TypeScript
export declare const templateMatcher: RegExp;
export declare function clean(raw: string): string;
export declare function colorize(raw: string): string;
export declare function applyStyle(content: string, ...styles: string[]): string;
export declare function addCustomStyle(name: string, ...styles: string[]): void;
export declare function deleteCustomStyle(name: string): void;
export declare const customStyles: Map<string, string[]>;