This repository is my second coding project from Hexlet (JavaScript). With this utility you can determine the difference between the two data structures.
- Supports formats - json, yaml;
- Generates a report as plain text, stylish и json.
- Install Node.js if you don't have it. Make sure your version is at least 16.4.1
- Clone the repository to any convenient location on your computer using SSH key:
git@github.com:Tsogoeva/frontend-project-lvl2.git
- Go to the root directory of the project
- Perform a dependency installation using the
make install
command - Install the package with the
npm link
command. You may need tosudo
gendiff -h
- help output;gendiff --format stylish *firstFilePath* *secondFilePath*
- receiving data in stylish format;gendiff --format plain *firstFilePath* *secondFilePath*
- receiving data in plain format;gendiff --format json *firstFilePath* *secondFilePath*
- receiving data in json format;