InspectOptions (interface)
npm: @suchipi/print@2.5.0. License: ISC
Options for inspect.
indent?: string;
}
InspectOptions.all (boolean property)
Whether to display non-enumerable properties. Defaults to false.
InspectOptions.followGetters (boolean property)
Whether to invoke getter functions. Defaults to false.
InspectOptions.indexes (boolean property)
Whether to display the indexes of iterable entries. Defaults to false.
InspectOptions.maxDepth (number property)
Hide object details after 𝑁 recursions. Defaults to Infinity.
InspectOptions.noAmp (boolean property)
If true, don't identify well-known symbols as @@…. Defaults to false.
InspectOptions.noHex (boolean property)
If true, don't format byte-arrays as hexadecimal. Defaults to false.
InspectOptions.noSource (boolean property)
If true, don't display function source code. Defaults to false.
InspectOptions.proto (boolean property)
Whether to show __proto__ properties if possible. Defaults to false.
InspectOptions.sort (boolean property)
Whether to sort properties alphabetically. When false, properties are sorted by creation order. Defaults to false.
InspectOptions.colours (property)
Options that control whether and how ANSI terminal escape sequences for colours should be added to the output. Defaults to false, meaning no colours.
InspectOptions.indent (string property)
Prefix string to use for indentation. Defaults to '\t'.
indent?: string;
InspectColours (interface)
string?: string | number;
symbol?: string | number;
}
InspectColours.off (property)
InspectColours.red (property)
InspectColours.grey (property)
InspectColours.green (property)
InspectColours.darkGreen (property)
InspectColours.punct (property)
InspectColours.keys (property)
InspectColours.keyEscape (property)
InspectColours.typeColour (property)
InspectColours.primitive (property)
InspectColours.escape (property)
InspectColours.date (property)
InspectColours.hexBorder (property)
InspectColours.hexValue (property)
InspectColours.hexOffset (property)
InspectColours.reference (property)
InspectColours.srcBorder (property)
InspectColours.srcRowNum (property)
InspectColours.srcRowText (property)
InspectColours.nul (property)
InspectColours.nulProt (property)
InspectColours.undef (property)
InspectColours.noExts (property)
InspectColours.frozen (property)
InspectColours.sealed (property)
InspectColours.regex (property)
InspectColours.string (property)
string?: string | number;
InspectColours.symbol (property)
symbol?: string | number;
InspectColours.symbolFade (property)
InspectColours.braces (property)
InspectColours.quotes (property)
InspectColours.empty (property)
InspectColours.dot (property)
InspectFunction (interface)
}
InspectFunction(...) (call signature)
Generate a human-readable representation of a value.
@paramvalue — Value to inspect@paramoptions — Additional settings for refining output@returnsA string representation ofvalue.
InspectFunction(...) (call signature)
Generate a human-readable representation of a value.
@paramvalue — Value to inspect@paramkey — The value's corresponding member name@paramoptions — Additional settings for refining output@returnsA string representation ofvalue.
InspectFunction.custom (symbol property)
A symbol which can be used to customize how an object gets printed.
inspect (InspectFunction)
Generate a human-readable representation of a value.
@paramvalue — Value to inspect@paramkey — The value's corresponding member name@paramoptions — Additional settings for refining output@returnsA string representation ofvalue.
InspectCustomInputs (interface)
indent: string;
}
InspectCustomInputs.key (property)
InspectCustomInputs.type (string property)
InspectCustomInputs.brackets (property)
InspectCustomInputs.oneLine (boolean property)
InspectCustomInputs.linesBefore (property)
InspectCustomInputs.linesAfter (property)
InspectCustomInputs.propLines (property)
InspectCustomInputs.tooDeep (readonly boolean property)
InspectCustomInputs.indent (string property)
indent: string;
InspectCustomInputs.typeSuffix (string property)
InspectCustomInputs.opts (InspectOptions property)
InspectCustomInputs.colours (property)