A difference calculator is a program that determines the difference between two data structures. This is a popular task, for which there are many online services, e.g. JSON Diff
- Supports different input formats: yaml, json
- Report generation as plain text, stylish and json
You need Node.js installed on your machine. ( node-version: [14.x] )
make install
make publish
npm link$ genfiff filepath1 filepath2The function takes paths to flat files and returns the difference in plain text.
$ genfiff filepath1 filepath2The function takes paths to nested files and returns the difference in stylish format.
$ genfiff filepath1 filepath2$ genfiff -f plain filepath1 filepath2$ genfiff -f json filepath1 filepath2