code-diff
v0.1.3
Published
Line by line code diff with ignoring whitespaces and returning not equal lines as array
Downloads
16
Maintainers
Readme
How to use
- Checking code string is different than expected (will return array with yourcode lines if they are different than expectedcode lines).
import codeDiff from 'diff-code'
const difference = codeDiff(yourcode, expectedcode)