html-differ
html-differ copied to clipboard
Сompares two HTML
I have the following: ``` html ``` and tried ``` html ``` but it looks like it does not work at all. How to make it works?
Diff: https://github.com/bem/bem-forum-content-ru/issues/829 Описание: https://github.com/bem/bem-forum-content-ru/issues/865 Воспроизводится только на `noscript`
Currently optionally self-closing elements such as images and line breaks are not considered equivalent. E.G. ``` js const differ = require('html-differ') let lhs = '' let rhs = '' let...
`diffBy: 'chars'` - diffs two blocks of text, comparing character by character. `diffBy: 'words'` - diffs two blocks of text, comparing word by word. `diffBy: 'lines'` - diffs two blocks...
memory leaks
when i try it with > 100kb files, it almost always gets to this message: - FATAL ERROR: JS Allocation failed - process out of memory it also runs long...