code-diff

0.1.3 • Public • Published

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)

Package Sidebar

Install

npm i code-diff

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

2.6 kB

Total Files

4

Last publish

Collaborators

  • radoslawfabisiak