UNPKG

@clynn-fe/akfe-editor-jsonc

Version:

JSON Compress by using a map to reduce the size of keys and using gzip

8 lines (7 loc) 295 B
declare const _default: Readonly<{ compress: (json: any, optKeys?: [string, string][] | undefined) => string; decompress: (json: string) => any; pack: (json: any, bCompress: boolean) => string; unpack: (gzipped: string, bDecompress: boolean) => any; }>; export default _default;