Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 450 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 450 Bytes

differ-cli

Differ in cli, based on nodejs.

Driven by powerful diff engine — universal diff.

Usage

  • CLI

      $ npm install differ-cli -g
    
      $ differ-cli <file1> <file2>
    
  • node

      var differ = require('differ-cli')
    
      differ('path/of/file1', 'path/of/file2', function(err, result){
      	!err && console.log(result);
      });
    

Result

diff result