UNPKG

yini-cli

Version:

CLI for parsing and validating YINI config files: type-safe values, nested sections, comments, minimal syntax noise, and optional strict mode.

16 lines (15 loc) 705 B
export declare const debugPrint: (str?: any) => void; export declare const devPrint: (str?: any) => void; export declare const toJSON: (obj: any) => string; export declare const toPrettyJSON: (obj: any) => string; /** * Pretty-prints a JavaScript object as formatted JSON to the console. * Strict JSON, all keys are enclosed in ", etc. */ export declare const printJSON: (obj: any) => void; /** * Print a full JavaScript object in a human-readable way (not as JSON). * Not strict JSON, and shows functions, symbols, getters/setters, and class names. * @param isColors If true, the output is styled with ANSI color codes. */ export declare const printObject: (obj: any, isColors?: boolean) => void;