Difference Calculator is my second project on the Hexlet learning platform, it can be used to learn the differences of data in files.
- Clone repo:
git@github.com:AutumnQR/fullstack-javascript-project-46.git - Install dependencies:
npm i - Use command
gendiff -hto get information about further steps
- OS: Windows 10 and above
- NodeJS LTS version
Command: gendiff <file1> <file2> will show you the differences between the two files with the default "stylish" formatter, example:
{
- follow: false
host: hexlet.io
- proxy: 123.234.53.22
- timeout: 50
+ timeout: 20
+ verbose: true
}
You can use any of the three formatters:
- json
- stylish
- plain
The operation of each of the formatters is specified in the asciiinemas below