Difference Calculator is a program designed to determine the difference between two data structures. It supports various file formats including .json and .yaml, and can handle both flat and nested structures.
- Comparison of Flat Structures: The program can compare flat .json and .yaml files with a plain structure.
- Comparison of Nested Structures: The program can compare .json files with a nested structure. It supports different output formats including STYLISH, PLAIN, and JSON.
Before you start, make sure you have Node.js and npm installed on your machine.
- Clone this repository to your local machine using
https://github.com/elen-oz/difference-calculator.git
- Navigate to the project directory:
cd difference-calculator
- Install all required dependencies with
npm install
To use the Difference Calculator, run the command npm run diff-calc [file1] [file2]
. Replace [file1]
and [file2]
with the paths to the files you want to compare.