@teaui/core
Version:
A high-level terminal UI library for Node
15 lines (14 loc) • 546 B
TypeScript
export declare function isDebugging(enabled?: boolean): boolean;
export declare function inspect(value: any, wrap?: boolean, recursionDepth?: number, visited?: Set<unknown>): string;
interface Colorize {
format(input: any): string;
number(input: number): string;
symbol(input: symbol): string;
string(input: string, doQuote?: boolean): string;
key(input: string | symbol | number): string;
boolean(input: boolean): string;
undefined(): string;
null(): string;
}
export declare const colorize: Colorize;
export {};