mlx-bun library API
    Preparing search index...
    • Detect a section that has outgrown the article: a body section that is large in absolute prose (≥ minWords, a screen-worth) AND dominates — at least dominance× the words of every other body section combined. Requires ≥2 body sections so the parent survives the split. A cohesive article whose sections are balanced has no dominator → null (no false split). The largest qualifying section wins. Pure.

      Parameters

      • content: string
      • opts: { dominance?: number; minWords?: number } = {}

      Returns SplitCandidate | null