Microdiff is a lightweight library for computing the difference between two sets of JS objects, useful for implementing undo/redo functionality or merging branches in real-time collaborative applications.