@mann-conomy/vdf-utils
Version:
A Node.js utility library for parsing and converting objects in Valve's Data File (VDF) format.
9 lines (8 loc) • 381 B
TypeScript
export declare function getFileLines(file: string): string[];
export declare function getLastKey(object: Record<string, unknown>): string;
export declare function getObject(line: string): {
key: string;
value: string | undefined;
};
export declare function isObject(value: unknown): boolean;
export declare function isObjectEmpty(source: unknown, target: string): boolean;