@ac-essentials/misc-util
    Preparing search index...

    Type Alias HttpFieldsOptions

    type HttpFieldsOptions = {
        foldSpacing?: string;
        nodeInspectRedacted?: boolean;
        sensitiveFields?: ReadonlyArray<string | RegExp>;
        toStringRedacted?: boolean;
        unfoldableFields?: ReadonlyArray<string | RegExp>;
    }
    Index

    Properties

    foldSpacing?: string

    Spacing to use when folding fields (default: single space).

    nodeInspectRedacted?: boolean

    If true, the custom Node.js inspect method will redact sensitive fields (default: true).

    sensitiveFields?: ReadonlyArray<string | RegExp>

    Set of fields that are considered sensitive and whose values should be redacted in logs.

    Can include strings (case-insensitive) or regular expressions.

    Defaults to a set of common sensitive fields.

    toStringRedacted?: boolean

    If true, the toString method will redact sensitive fields (default: true).

    unfoldableFields?: ReadonlyArray<string | RegExp>

    Set of fields that should not be unfolded when parsing.

    Defaults to a set of common unfoldable fields.