Package Exports
- another-word-diff
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (another-word-diff) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
diff-match-patch
Wrapper around https://github.com/google/diff-match-patch that allows for word based diff.
The word boundary is defined by the regex /[A-Za-z0-9_]/
Installation
npm install word-diff-match-patch
Module exports :
characterDiff(text1, text2) → diffs
wordDiff(text1, text2) → diffs
characterDiff(text1, text2) → diffs
prettyHtml_Character(text1, text2) → formatted string
prettyHtml_Word(text1, text2) → formatted string