@drupflare/spool - v0.1.0
    Preparing search index...

    Function splitBytes

    • Cuts text into slices of at most limit UTF-8 bytes, never inside a code point. Text with no bytes still gives one empty slice, so every event leaves one data point at least.

      Parameters

      • text: string
      • limit: number = MAX_BEACON_BLOB

      Returns string[]