Skip to content

Gendiff (generator of difference) is program that determines the difference between two data structures.

Notifications You must be signed in to change notification settings

a-gunderin/gendiff

Repository files navigation

Gendiff - generator of difference

Actions Status ESLint + Testing Maintainability Test Coverage

Gendiff (generator of difference) is program that determines the difference between two data structures.

Utility features:

  • Support for different input formats: yaml, json
  • Generating of report in plain text, stylish and json format

Requirements

I've developed this program using v14.14.0 of Node.

If you face with some issues while using other versions of node just try to use v14.14.0.

For Linux / macOS systems

To install the program just run inside cloned folder

$ make install

Uninstall program

$ make uninstall

Get help information

$ gendiff -h

Compare two files

$ gendiff pathToFile1.json pathToFile2.json

Compare two files using other formats

$ gendiff -f plain pathToFile1.json pathToFile2.json
$ gendiff -f json pathToFile1.json pathToFile2.json

Run tests

$ make test

asciicast

For Windows PCs

To install the program just run inside cloned folder

$ npm ci
...
$ npm link

Run tests

$ npm run win-test

All other actions are the same as for Linux / macOS systems.

About

Gendiff (generator of difference) is program that determines the difference between two data structures.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published