DiffLib
Registers changes on a line by line bases and can apply those changes elsewhere.
Get Changes
let diff = new diffLib.getDiff(oldText, newText)
Apply Changes
let newText = diffLib.applyChanges(diff, oldText)
Registers changes on a line by line bases and can apply those changes elsewhere.
let diff = new diffLib.getDiff(oldText, newText)
let newText = diffLib.applyChanges(diff, oldText)
npm i tx-jsdifflib
1
0.1.1
MIT
17 kB
4