Install the module with:
npm install -g jsdiff-cli
jsdiff file1 file2
file1is a file to compare.
file2is a file to compare with.
jsdiff-cli is a simple command line tool which prints out the difference between two files using specific highlighting as follows,
greycolour is the part which is unchanged.
greencolour is the part which is added.
redcolour is the part which is removed.
Copyright (c) 2013 Kalpesh Adhatrao
Licensed under the MIT license.