Skip to content

newTimesNewRoman/frontend-project-46

Repository files navigation

Project: "Difference checker"

"Difference Checker" compares data structures to find the difference between two files.

Actual tests and linter status:

Actions Status Tests & Linter Maintainability Test Coverage

Program features:

  • Support for input formats: json, yaml, yml.
  • Output reports in the form of stylish, plain or json.

Installation

"Difference checker" requires Node.js v18+ to run.

Copy repository and install the dependencies.

git clone https://github.com/newTimesNewRoman/frontend-project-46.git
cd frontend-project-46/
make install

For help, you can use the --help (-h) command:

gendiff --help

asciicast

Comparing .json and .yml files with stylish output format (default)

gendiff ./__fixtures__/file1.json ./__fixtures__/file2.yml

asciicast

Comparing .json and .yml files with plain output format

gendiff -f plain ./__fixtures__/file1.yml ./__fixtures__/file2.json

asciicast

Comparing .json and .yaml files with plain output format

gendiff -f json ./__fixtures__/file1.json ./__fixtures__/file2.yaml

asciicast

License

MIT

About

Project: "Difference checker"

Resources

Stars

Watchers

Forks

Packages

No packages published