git-diff
Returns the git diff of two strings
@ks982579/text-word-diff-finder
A high-performance TypeScript library for finding word-level differences between text strings with support for multiple diff algorithms.
string-diff
a text or string diff migrated from a diff implementation by php