Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.InspectOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.InspectOptions
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { InspectOptions } = Deno;

Option which can be specified when performing Deno.inspect.

Properties

optional
colors: boolean = false

Stylize output with ANSI colors.

optional
compact: boolean = true

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

optional
depth: number = 4

Traversal depth for nested objects.

optional
breakLength: number = 80

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

optional
escapeSequences: boolean = true

Whether or not to escape sequences.

optional
iterableLimit: number = 100

The maximum number of iterable entries to print.

optional
showProxy: boolean = false

Show a Proxy's target and handler.

optional
sorted: boolean = false

Sort Object, Set and Map entries by key.

optional
trailingComma: boolean = false

Add a trailing comma for multiline collections.

optional
getters: boolean = false

Evaluate the result of calling getters.

optional
showHidden: boolean = false

Show an object's non-enumerable properties.

optional
strAbbreviateSize: number

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