Showing 1-20 of 31,369 packages
A utility for applying file diffs programmatically
Apply a diff to an object. Optionally supports jsonPatch protocol
Use an unrelated remote repository to apply a git diff
Z.ai-native AI code editor - CLI-first, interactive editor shell with keyboard-driven settings, plan-diff-apply workflow, and safety-first design
Parse a JSON string that has git merge conflicts, resolving if possible
Robust diff, match and patch algorithms to perform operations required for synchronizing plain text
JSON diff & patch (object and array diff, text diff, multiple output formats)
Display differences clearly so people can review changes confidently.
Fast Javascript text diff
Helper functions around Function call/apply/bind, for use in `call-bind`
Compare items in two sequences to find a longest common subsequence
Backs out file tree changes
A JavaScript text diff implementation.
Compare items in two sequences to find a longest common subsequence
A diff for DOM elements, as client-side JavaScript code. Gets all modifications, insertions and removals between two DOM fragments.
Push an array of items into an array, while being robust against prototype modification
Deep diffs two objects, including nested structures of arrays and objects, and return the difference.
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Complete implementation of RFC6902 (patch and diff)
npm package for https://github.com/google/diff-match-patch