• Stringifies numbers, booleans, and objects. Object keys are sorted to yield consistent hashing.

    Parameters

    • value: string | number | boolean | Record<string, any>

      Object or value to be hashed.

    Returns string

    Stringified representation of the given object.