UNPKG

yini-parser

Version:

Readable configuration without YAML foot-guns or JSON noise. The official Node.js parser for YINI config format — An INI-inspired configuration format with clear nesting, explicit types, and predictable parsing.

14 lines (13 loc) 689 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, isForce?: boolean) => 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, isForce?: boolean, isColors?: boolean) => void;