0.3.7 • Published 2 years ago

string-diff-viewer v0.3.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

string-diff-viewer

Compare two string and generate human-friendly output to stdout (based on git-split-diffs)

Installation

npm i string-diff-viewer

Usage

const { diff, format } = require( 'string-diff-viewer' )

;( async () => {
  const diffs = await diff( oldStr, newStr )
  console.log( await format( diffs ) )
} )()

Related

License

MIT

0.3.0

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.7

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago