0.1.3 • Published 6 years ago
code-diff v0.1.3
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)