/Diff-Generator

genDiff utility (compares two files of different extensions)

Primary LanguageJavaScript

Hexlet tests and linter status:

Actions Status

Maintainability

NodeJS

Test Coverage

Difference Builder

Installation

    make install
    npm link

Usage & Examples

Usage: gendiff [options] <filepath1> <filepath2>

Options:
  -v, --vers           output the current version
  -f, --format <type>  output format (default: "stylish")
  -h, --help           display help for command

  1. Compare two JSON documents asciicast

  2. Compare two YAML documetns asciicast

  3. Compare two different extention documetns (JSON and YML) with stylish format option by default asciicast

  4. Compare two documents by plain format

Usage: `gendiff -f plain <filepath1> <filepath2>`

asciicast

  1. Gendiff JSON format
Usage: `gendiff -format json <filepath1> <filepath2>`

asciicast