How to create a visual diff view of a tree of files in JavaScript

Is there any library in JavaScript to show differences between two trees of files?

I want to show one tree with my actual version of a project and another tree with the remote version. I want to highlight the changes between both trees: the files that are modified, deleted or added in my local version vs. my remote version.