Interface PrettyPrintOptions

Options for prettyPrintSNBT.

interface PrettyPrintOptions {
    indent?: number;
    inlineArrays?: boolean;
    maxInlineLength?: number;
}

Properties

indent?: number

Number of spaces to indent.

2
inlineArrays?: boolean

Whether to inline arrays if possible.

true
maxInlineLength?: number

Maximum length of an inline array.

40