JavaScript command line tool to get the difference in the files
Install the module with: npm install -g jsdiff-cli
jsdiff file1 file2file1is 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,
- The part highlighted in
greycolour is the part which is unchanged. - The part highlighted in
greencolour is the part which is added. - The part highlighted in
redcolour is the part which is removed.
(Coming soon)
- jsdiff-cli makes use of jsdiff library
- Also it is designed referring to an awesome blog post for creating a command-line tool using
nodejsandGrunt
Copyright (c) 2013 Kalpesh Adhatrao
Licensed under the MIT license.