@humanspeak/svelte-diff
Reactive text comparison for Svelte 5
Overview
@humanspeak/svelte-diff compares text and updates the rendered result as either input changes. It uses diff-match-patch, can clean up edit boundaries for readability, and lets applications customize inserted, removed, and unchanged segments with classes or Svelte snippets.
Best For
Displaying readable before-and-after text changes in Svelte 5 apps.