UNPKG

noxon

Version:

Better JSON parsing and manipulation in TypeScript.

6 lines (4 loc) 399 B
declare const format: <jsonType extends Record<string, any> | undefined>(value: jsonType, spaces: number | string) => string | undefined; declare const formatFill: <jsonType extends Record<string, any> | undefined>(value: jsonType, fill: number | string) => string | undefined; declare const minifyJSON: <jsonType>(value: jsonType) => string | undefined; export { format, formatFill, minifyJSON };