UNPKG

@log-rush/log-formatter

Version:

Parse/Format/Style colored logs

10 lines (9 loc) 377 B
import { SGRAstNode } from './ast'; export declare const CTRL_CHARS: readonly ["\u001B", "\\e", "\\x1b", "\\033", "\\u001b", "\\u1b", "\\33"]; export declare const OPEN_BYTE = "["; export declare const CLOSE_BYTE = "m"; export declare class SGRCommandParser { parse(data: string): SGRAstNode; private isSGRCommandStart; parseSGRCommand(data: string): SGRAstNode; }