stasis-proxy - v0.1.0
    Preparing search index...

    Function deepSortKeys

    • Recursively sorts all keys in an object and nested objects/arrays. Arrays are preserved in order, but objects within arrays are sorted.

      Type Parameters

      • T

      Parameters

      • value: T

        The value to normalize (can be any JSON-compatible value)

      Returns T

      The normalized value with sorted object keys