@anastassin/difference-calculator
v1.6.0
Published
[](https://codeclimate.com/github/AnastasiyaYS/project-lvl2-s475/maintainability) [;
console.log(diff);Run
Compare flat JSON files
$ gendiff firstPath.json secondPath.jsonCompare flat YAML files
$ gendiff firstPath.yml secondPath.ymlCompare flat INI files
$ gendiff firstPath.ini secondPath.iniCompare tree files (JSON, YAML, INI)
$ gendiff firstPath.json secondPath.jsonor
$ gendiff firstPath.yml secondPath.iniСhoose one of unstructured output formats: tree (by default) or plain
Display comparison in tree format (by default)
$ gendiff firstPath.yml secondPath.iniDisplay comparison in plain format
$ gendiff -f plain firstPath.json secondPath.iniChoose JSON output format
$ gendiff -f json firstPath.ini secondPath.yml