0.3.7 • Published 8 months ago

string-diff-viewer v0.3.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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

8 months ago

0.3.6

8 months ago

0.3.5

8 months ago

0.3.7

8 months ago

0.3.2

8 months ago

0.3.1

8 months ago

0.3.4

8 months ago

0.3.3

8 months ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago