@holgerengels/compute-engine
Version:
Symbolic computing and numeric evaluations for JavaScript and Node.js
42 lines (41 loc) • 2.02 kB
TypeScript
/* 0.26.0-alpha2 */
export declare const RESET = "\u001B[0m";
export declare const DEFAULT_COLOR = "\u001B[39m";
export declare const DEFAULT_BG = "\u001B[49m";
export declare const WHITE_BG = "\u001B[47m";
export declare const BLACK_BG = "\u001B[40m";
export declare const GREY_BG = "\u001B[100m";
export declare const GREEN_BG = "\u001B[42m";
export declare const RED_BG = "\u001B[41m";
export declare const YELLOW_BG = "\u001B[43m";
export declare const BLUE_BG = "\u001B[44m";
export declare const MAGENTA_BG = "\u001B[45m";
export declare const CYAN_BG = "\u001B[46m";
export declare const WHITE = "\u001B[37;1m";
export declare const BLACK = "\u001B[30;1m";
export declare const GREY = "\u001B[30;1m";
export declare const GREEN = "\u001B[32;1m";
export declare const RED = "\u001B[31;1m";
export declare const YELLOW = "\u001B[33m";
export declare const BLUE = "\u001B[34;1m";
export declare const MAGENTA = "\u001B[35;1m";
export declare const CYAN = "\u001B[36;1m";
export declare const INVERSE_RED = "\u001B[101;97m";
export declare const INVERSE_GREEN = "\u001B[102;97m";
export declare const INVERSE_YELLOW = "\u001B[103;97m";
export declare const INVERSE_BLUE = "\u001B[104;97m";
export declare const BOLD = "\u001B[1m";
export declare const BOLD_OFF = "\u001B[22m";
export declare const DIM = "\u001B[2m";
export declare const DIM_OFF = "\u001B[22m";
export declare const ITALIC = "\u001B[3m";
export declare const ITALIC_OFF = "\u001B[23m";
export declare const UNDERLINE = "\u001B[4m";
export declare const UNDERLINE_OFF = "\u001B[24m";
export declare const BLINK = "\u001B[5m";
export declare const BLINK_OFF = "\u001B[25m";
export declare const INVERSE = "\u001B[7m";
export declare const INVERSE_OFF = "\u001B[27m";
export declare const HIDDEN = "\u001B[8m";
export declare const HIDDEN_OFF = "\u001B[28m";
export declare function ansiFgColor(color: string | number, mode: 'none' | 'basic' | 'full'): number[];
export declare function ansiBgColor(color: string, mode: 'none' | 'basic' | 'full'): number[];