Skip to content

ninja095/Gen-Diff

Repository files navigation

Actions Status Maintainability Test Coverage CI

πŸ”§ Install

  1. Π‘ΠΊΠ»ΠΎΠ½ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Ρ€Π΅ΠΏΠΎΠ·ΠΈΡ‚ΠΎΡ€ΠΈΡŽ с ΠΊΠΎΠΌΠ°Π½Π΄ΠΎΠΉ: git clone.
  2. УстановитС ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡƒ с ΠΊΠΎΠΌΠ°Π½Π΄Π°ΠΉ: npm install ΠΈ npm link.
  3. ΠšΠΎΠΌΠ°Π½Π΄Ρ‹ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡ‹: -f format, -h help.
  4. Π‘Ρ‚ΠΈΠ»ΠΈ форматирования: plain, json, stylish.

ΠŸΡ€ΠΈΠΌΠ΅Ρ€ запуска ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡ‹:

gendiff path1 path2  ( __fixtures__/file1.json __fixtures__/file2.json )

Finding differences between two flat (key-value pairs only) JSON files.

asciicast

Finding differences between two flat (key-value pairs only) YAML and JSON files.

asciicast

Finding differences between two files with nested structure YAML and JSON files in the format STYLISH.

asciicast

Finding differences between two files with nested structure YAML and JSON files in the format PLAIN.

asciicast

Finding differences between two files with nested structure YAML and JSON files in the format JSON.

asciicast