/frontend-project-lvl2

Difference Calculator – a program that determines the difference between two data structures

Primary LanguageJavaScript

Difference generator

Node CI Maintainability Test Coverage

Hexlet tests and linter status:

Actions Status

Console utility that determines the difference between two data structures.

Utility features:

  • Support for different input formats: yaml, json

  • Generating a report in plain text, stylish and json format

Usage example

format stylish of determining the difference between JSON files

$ gendiff filepath1.json filepath2.json

format stylish of determining the difference between YAML files

$ gendiff filepath1.yml filepath2.yml

Recursion comparison json or yaml in stylish format

$ gendiff filepath1.yml filepath2.yml

Recursion comparison json or yaml in polish format

$ gendiff --format plain filepath1.yml filepath2.yml

Recursion comparison json or yaml in json format

$ gendiff --format json filepath1.yml filepath2.yml