Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

loveencounterflow/coffeenode-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example:

  console.log DIFF.analyze "this is some test. blah blah blah", "this is other text. blah blah blah"

  [ [ 0, "this is " ]
    [ -1, "some" ]
    [ 1, "other" ]
    [ 0, " te" ]
    [ -1, "s" ]
    [ 1, "x" ]
    [ 0, "t. blah blah blah" ] ]

  console.log DIFF.colorize "this is some test. blah blah blah", "this is other text. blah blah blah"

About

easy color-coded diffs, using google's diff/match/patch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published