Skip to content

Releases: rossshannon/deep-diffs

v1.0.0

22 Jan 00:42

Choose a tag to compare

deep-diffs visualises cumulative changes across
multiple text revisions. Unlike normal diff tools that
compare two versions, it shows a "heatmap" of editorial
activity — regions edited multiple times appear with
increasing intensity through nested HTML tags.

Features

  • Cumulative diff tracking — markers shift, expand, and
    contract as text evolves across revisions
  • Nested intensity rendering — overlapping changes
    create nested tags for CSS-based heatmaps
  • Flexible API — use deepDiffHtml() for quick output,
    or computeDeepDiff() + renderWithMarkers() for custom
    rendering
  • TypeScript support — full type definitions included
  • Dual module format — ESM and CommonJS builds

Use Cases

  • Legal document review — see which clauses have been contentious
  • Collaborative writing — identify neglected or highly-finessed paragraphs
  • Wikipedia-style editing — spot edit-war hotspots
  • Code review — find code blocks tweaked repeatedly

Install

 npm install @rossshannon/deep-diffs                    

Links