UNPKG

@bscotch/yy

Version:

Stringify, parse, read, and write GameMaker yy and yyp files.

11 lines 515 B
import type { Yyp } from './types/Yyp.js'; export type AnyExceptPromise<T> = T extends Promise<any> ? never : T; /** * Jsonify, with GameMaker-like JSON and allowing for BigInts. * Based on {@link https://github.com/sidorares/json-bigint/blob/master/lib/stringify.js json-bigint}. * * The yyp file can be passed in to use as a reference, * e.g. to ensure the write format is used for new files. */ export declare function stringifyYy(yyData: any, yyp?: Yyp): string; //# sourceMappingURL=Yy.stringify.d.ts.map