Skip to content

kelsadita/jsdiff-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdiff-cli

JavaScript command line tool to get the difference in the files

Getting Started

Install the module with: npm install -g jsdiff-cli

jsdiff file1 file2
  • file1 is a file to compare.
  • file2 is a file to compare with.

Documentation

jsdiff-cli is a simple command line tool which prints out the difference between two files using specific highlighting as follows,

  1. The part highlighted in grey colour is the part which is unchanged.
  2. The part highlighted in green colour is the part which is added.
  3. The part highlighted in red colour is the part which is removed.

Examples

(Coming soon)

Reference

  • jsdiff-cli makes use of jsdiff library
  • Also it is designed referring to an awesome blog post for creating a command-line tool using nodejs and Grunt

License

Copyright (c) 2013 Kalpesh Adhatrao
Licensed under the MIT license.

About

Its command line tool to get the difference between two files. It makes use of jsdiff library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published