fast-diff
fast-diff copied to clipboard
A fast Javascript string diff
In 1.1.2 it works correctly: ``` node -e 'console.log(require(".")("aaaaa", "aaaa", 1))' [ [ 0, 'a' ], [ -1, 'a' ], [ 0, 'aaa' ] ] ``` In 1.2.0 it does...
Hello, do you think you can add a create unified diff patch function like this ? https://github.com/kpdecker/jsdiff/blob/master/src/patch/create.js thanks
This library is awesome, but one thing it suffers from is huge memory consumption on large strings as the resulting array can be pretty gigantic. I would love a generator...
Stripping the match and patch code is one thing, but just a diff isn't particularly useful: it would be super nice if the readme actually told folks which match and...
Hello! :) Would it make sense to add `sideEffects: false` to this library's `package.json`? This can enable more tree-shaking, in some cases: [documentation](https://github.com/webpack/webpack/blob/main/examples/side-effects/README.md) ([more detailed documentation](https://github.com/webpack/webpack.js.org/blob/6bc07960d30b7c534d809de86f1d611e9973af37/src/content/guides/tree-shaking.mdx)) If so, I'd be...