diff-lines-words (npm): Enhanced npm package for https://github.com/google/diff-match-patch, it supports to split text with lines or words.
Keywords: js|diff|words|lines