• Stringify a value, for use in debug messages. This is a bare-bones implementation of node:util's inspect method, designed to run in any environment.

    Parameters

    • value: unknown

      The value to stringify

    Returns string

    A string representation of the value