This program compare two files in 'json' and 'yaml' format and get the difference between them in 3 formats.
- Clone this repository.
- Go to directory frontend-project-lvl2.
- $ make install
- $ make link
You can use formats:
- stylish = default formatter;
- plain
- json
$ gendiff filepath1.(json/yml) filepath2.(json/yml)
$ gendiff --f filepath1.(json/yaml) filepath2.(json/yaml)
Difference between 2 JSON files
Difference between 2 YAML files
Difference beetwen 2 nested structure files with 'stylish' formatter
Difference beetwen 2 nested structure files with 'plain' formatter
Difference beetwen 2 nested structure files with 'json' formatter