KC's Workspace
    Preparing search index...
    interface PrettyFormatOptions {
        callToJSON?: boolean;
        compareKeys?: CompareKeys;
        escapeRegex?: boolean;
        escapeString?: boolean;
        highlight?: boolean;
        indent?: number;
        maxDepth?: number;
        maxOutputLength?: number;
        maxWidth?: number;
        min?: boolean;
        plugins?: Plugins;
        printBasicPrototype?: boolean;
        printFunctionName?: boolean;
        printShadowRoot?: boolean;
    }
    Index

    Properties

    callToJSON?: boolean
    compareKeys?: CompareKeys
    escapeRegex?: boolean
    escapeString?: boolean
    highlight?: boolean
    indent?: number
    maxDepth?: number
    maxOutputLength?: number

    Approximate per-depth-level budget for output length. When the accumulated output at any single depth level exceeds this value, further nesting is collapsed. This is a heuristic safety valve, not a hard limit — total output can reach up to roughly maxDepth × maxOutputLength.

    1_000_000
    
    maxWidth?: number
    min?: boolean
    plugins?: Plugins
    printBasicPrototype?: boolean
    printFunctionName?: boolean
    printShadowRoot?: boolean