Skip to content

Shamilist/JSON-YAML-files-comparator

Repository files navigation

Tests and linter status

github-actions-test

Maintainability

Test Coverage

About program

This program compare two files in 'json' and 'yaml' format and get the difference between them in 3 formats.

How to setup

  1. Clone this repository.
  2. Go to directory frontend-project-lvl2.
  3. $ make install
  4. $ make link

How to use

You can use formats:

  1. stylish = default formatter;
  2. plain
  3. json

$ gendiff filepath1.(json/yml) filepath2.(json/yml)
$ gendiff --f filepath1.(json/yaml) filepath2.(json/yaml)

Examples of using the program

Difference between 2 JSON files

asciicast

Difference between 2 YAML files

asciicast

Difference beetwen 2 nested structure files with 'stylish' formatter

asciicast

Difference beetwen 2 nested structure files with 'plain' formatter

asciicast

Difference beetwen 2 nested structure files with 'json' formatter

asciicast

About

Application that finds differences in configuration files. Technologies: JS, Node.js, Commander, Lodash, Jest, Git.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors