
WELCOME
Superdiff provides a rich and readable diff for arrays, objects, code, text and coordinates. It supports stream and file inputs for handling large datasets efficiently, is battle-tested, has zero dependencies, and offers top-tier performance.
FEATURES
Superdiff exports 6 functions:
getObjectDiff - recursively diff nested objects
getListDiff - detect additions, deletions, updates and moves in arrays
streamListDiff - diff large lists incrementally via streams
getTextDiff - diff text by character, word or sentence
getCodeDiff - diff code line by line, then token by token
getGeoDiff - detect coordinate changes, distance and direction

Comparing millions of entries in real time with streamListDiff

Detecting text changes with getTextDiff

Tracking coordinate changes with getGeoDiff

Diffing deeply nested objects with getObjectDiff

Tracking code changes with getCodeDiff
Last updated