Ende.InspectOptions

interface

interface Ende.InspectOptions

Option which can be specified when performing Ende.inspect.

Properties

colors

colors?: boolean

Stylize output with ANSI colors.

Default: false

compact

compact?: boolean

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

Default: true

depth

depth?: number

Traversal depth for nested objects.

Default: 4

breakLength

breakLength?: number

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

Default: 80

escapeSequences

escapeSequences?: boolean

Whether or not to escape sequences.

Default: true

iterableLimit

iterableLimit?: number

The maximum number of iterable entries to print.

Default: 100

showProxy

showProxy?: boolean

Show a Proxy's target and handler.

Default: false

sorted

sorted?: boolean

Sort Object, Set and Map entries by key.

Default: false

trailingComma

trailingComma?: boolean

Add a trailing comma for multiline collections.

Default: false

getters

getters?: boolean

Evaluate the result of calling getters.

Default: false

showHidden

showHidden?: boolean

Show an object's non-enumerable properties.

Default: false

strAbbreviateSize

strAbbreviateSize?: number

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