- 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)
radoslawfabisiak / code-diff Goto Github PK
View Code? Open in Web Editor NEWLine by line code diff with ignoring whitespaces and returning not equal lines as array
License: MIT License