For diffing ordered trees
A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
No description provided.
Fast Javascript text diff
Compare items in two sequences to find a longest common subsequence
Binary Search Trees
A JavaScript text diff implementation.
Compare items in two sequences to find a longest common subsequence
Deep diffs two objects, including nested structures of arrays and objects, and return the difference.
unified plugin to ignore unrelated messages
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Delightful JavaScript Testing.
Utilities for watching file trees.
Broccoli plugin to merge multiple trees into one
npm package for https://github.com/google/diff-match-patch
Delightful JavaScript Testing.
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Return an object representing the diffs between two objects. Supports jsonPatch protocol
hast utility to create trees
No description provided.
Continuation of a simple and beautiful text diff viewer component made with diff and React
Unified diff parser
Modern TypeScript JSON diff library - Zero dependencies, high performance, ESM + CommonJS support. Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.
Diff two directory trees based on their content
A Git implementation in Rust
A lint running tool and framework.
This library performs diffs of CSV data, or any table-like source. Unlike a standard diff that compares line by line, and is sensitive to the ordering of records, CSV-Diff identifies common lines by key field(s), and then compares the contents of the fields in each line. Data may be supplied in the form of CSV files, or as an array of arrays. The diff process provides a fine level of control over what to diff, and can optionally ignore certain types of changes (e.g. changes in position). CSV-Diff is particularly well suited to data in parent-child format. Parent- child data does not lend itself well to standard text diffs, as small changes in the organisation of the tree at an upper level can lead to big movements in the position of descendant records. By instead matching records by key, CSV-Diff avoids this issue, while still being able to detect changes in sibling order. This gem implements the core diff algorithm, and handles the loading and diffing of CSV files (or Arrays of Arrays). It also supports converting data in XML format into tabular form, so that it can then be processed like any other CSV or table-like source. It returns a CSVDiff object containing the details of differences in object form. This is useful for projects that need diff capability, but want to handle the reporting or actioning of differences themselves. For a pre-built diff reporting capability, see the csv-diff-report gem, which provides a command-line tool for generating diff reports in HTML, Excel, or text formats.
A tool to download and compare the source trees of two different versions of a Ruby gem, displaying differences in diff format
The Lorax is a full diff and patch library for XML/HTML documents, based on Nokogiri. It can tell you whether two XML/HTML documents are identical, or if they're not, tell you what's different. In trivial cases, it can even apply the patch. It's based loosely on Gregory Cobena's master's thesis paper, which generates deltas in less than O(n * log n) time, accepting some tradeoffs in the size of the delta set. You can find his paper at http://gregory.cobena.free.fr/www/Publications/thesis.html. "I am the Lorax, I speak for the trees."