changed-lines v1.0.0
Compare strings just like git diff
does! 😎
Thanks to the amazing diff-sequences package. 😇
const diff = ; // The result is an array.let res = ; // Optional ansi colors.const chalk = ;res = ;
The input
and output
values can be a string or array of strings.