Deno.InspectOptions

Option which can be specified when performing Deno.inspect.

interface InspectOptions {
breakLength?: number;
colors?: boolean;
compact?: boolean;
depth?: number;
escapeSequences?: boolean;
getters?: boolean;
iterableLimit?: number;
showHidden?: boolean;
showProxy?: boolean;
sorted?: boolean;
strAbbreviateSize?: number;
trailingComma?: boolean;
}

§Properties

§
breakLength?: number
[src]

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

§
colors?: boolean
[src]

Stylize output with ANSI colors.

§
compact?: boolean
[src]

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

§
depth?: number
[src]

Traversal depth for nested objects.

§
escapeSequences?: boolean
[src]

Whether or not to escape sequences.

§
getters?: boolean
[src]

Evaluate the result of calling getters.

§
iterableLimit?: number
[src]

The maximum number of iterable entries to print.

§
showHidden?: boolean
[src]

Show an object's non-enumerable properties.

§
showProxy?: boolean
[src]

Show a Proxy's target and handler.

§
sorted?: boolean
[src]

Sort Object, Set and Map entries by key.

§
strAbbreviateSize?: number
[src]

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

§
trailingComma?: boolean
[src]

Add a trailing comma for multiline collections.