Options
All
  • Public
  • Public/Protected
  • All
Menu

string-template-format-inspect — Reference

Index

Interfaces

Type aliases

Variables

Functions

Type aliases

InspectFormatter

InspectFormatter: Tag<any>

Type of template literal tag that uses Node's util.inspect

Variables

Const formatInspector

formatInspector: InspectFormatter = Tag(inspect)

Format any value with Node's util.inspect

Functions

Const InspectFormatter

  • Create a template literal tag that uses Node's util.inspect

    Parameters

    • Optional options: InspectOptions

      Options to pass to Node's util.inspect

    Returns InspectFormatter

Const Inspector

  • Inspector(options?: InspectOptions): Inspector
  • Create an Inspector to pass to tag

    Parameters

    • Optional options: InspectOptions

      Options to pass to Node's util.inspect

    Returns Inspector

    Formatter that uses Node's util.inspect

Generated using TypeDoc