termdiff 4.2.1

Write a diff with color codes to a string
Documentation