If true
, the output will be styled with ANSI color codes. Defaults to false
. Colors are customizable, see "Customizing util.inspect colors".
If false
, then custom inspect(depth, opts)
functions exported on the object being inspected will not be called. Defaults to true
.
Specifies the number of times to recurse while formatting the object
. This is useful for inspecting large complicated objects. Defaults to 2
. To make it recurse indefinitely pass null
.
Specifies the maximum number of array and TypedArray
elements to include when formatting. Defaults to 100
. Set to null
to show all array elements. Set to 0
or negative to show no array elements.
If true
, the object
's non-enumerable symbols and properties will be included in the formatted result. Defaults to false
.
If true
, then objects and functions that are Proxy
objects will be introspected to show their target
and handler
objects. Defaults to false
.
Generated using TypeDoc
The length at which an object's keys are split across multiple lines. Set to
Infinity
to format an object as a single line. Defaults to60
for legacy compatibility.