UNPKG

yini-parser

Version:

Node.js parser for YINI — a clean, structured INI alternative with types, simple section nesting, comments, and strict mode.

14 lines (13 loc) 651 B
export declare const debugPrint: (str?: any) => void; export declare const devPrint: (str?: any) => void; 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;