Skip to content

ObjectFormatterConfig

Configuration options for ObjectFormatter.

maxEntries: number

Max number of entries to display before truncating.


showBrackets: boolean

Include surrounding braces { }.


showCommas: boolean

Include commas between entries.


sortKeys: (keys, obj) => string[]

Custom key-sorting function.

string[]

Record<string, unknown>

string[]