Notion Helper - v1.3.29
    Preparing search index...

    Function getPayloadSize

    • Gets the size in bytes of a block array when converted to JSON. Used to ensure API requests don't exceed Notion's payload size limits.

      Parameters

      • arr: Object[]

        The array of block objects to measure

      Returns number

      Size in bytes