deno.com

interface Deno.InspectOptions

Option which can be specified when performing Deno.inspect.

Properties #

#colors: boolean = false
optional

Stylize output with ANSI colors.

#compact: boolean = true
optional

Try to fit more than one entry of a collection on the same line.

#depth: number = 4
optional

Traversal depth for nested objects.

#breakLength: number = 80
optional

The maximum length for an inspection to take up a single line.

#escapeSequences: boolean = true
optional

Whether or not to escape sequences.

#iterableLimit: number = 100
optional

The maximum number of iterable entries to print.

#showProxy: boolean = false
optional

Show a Proxy's target and handler.

#sorted: boolean = false
optional

Sort Object, Set and Map entries by key.

#trailingComma: boolean = false
optional

Add a trailing comma for multiline collections.

#getters: boolean = false
optional

Evaluate the result of calling getters.

#showHidden: boolean = false
optional

Show an object's non-enumerable properties.

#strAbbreviateSize: number
optional

The maximum length of a string before it is truncated with an ellipsis.