Hacker News new | ask | show | jobs
by spankalee 1943 days ago
Anyone know of similar libraries in JavaScript?

It's difficult to search for HTML diff libraries these days because all the hits are vdom like things, instead of diffing HTML text for development / testing.

1 comments

Can relate. After some searching I found:

https://github.com/Teamwork/visual-dom-diff

Which is quite good and fast. Encodes HTML tags as Unicode chars, calls diff-match-path and uses diff to build a final visual output.