@romezzz/gendiff
v1.5.1
Published
Compare two configuration files and shows a difference.
Downloads
6
Maintainers
Readme
gendiff
Description
Compare two configuration files and shows a difference.
Output example
{
host: hexlet.io
- timeout: 50
+ timeout: 20
- proxy: 123.234.53.22
- follow: false
common: {
setting1: Value 1
- setting2: 200
- setting3: true
+ setting3: {
key: value
}
setting6: {
key: value
+ ops: vops
}
+ follow: false
+ setting4: blah blah
+ setting5: {
key5: value5
}
}
group1: {
- baz: bas
+ baz: bars
foo: bar
- nest: {
key: value
}
+ nest: str
}
- group2: {
abc: 12345
}
+ verbose: true
+ group3: {
fee: 100500
}
}
Options
-V, --version output the version number
-f, --format [type] Output format [pretty, json, plain] (default: "pretty")
-k, --key-only Generate only keys diff (default: false)
-h, --help output usage information
Installation
npm i -g @romezzz/gendiff