- Support for input formats: json, yaml, yml.
- Output reports in the form of stylish, plain or json.
"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
gendiff ./__fixtures__/file1.json ./__fixtures__/file2.yml
gendiff -f plain ./__fixtures__/file1.yml ./__fixtures__/file2.json
gendiff -f json ./__fixtures__/file1.json ./__fixtures__/file2.yaml
MIT