Skip to content

Command line tool and module for computing the diff between JSON strings

Notifications You must be signed in to change notification settings

connor-minton/json-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-diff

Shows the difference between two JSON files.

Plain text diffs tend to be insufficient to compare JSON files, because equivalent JSON objects can list their keys in different orders, as well as have different whitespace and formatting. json-diff outputs a diff that ignores textual differences like these and simply compares JSONs.

Install

npm i -g @cminton/json-diff

Usage

json-diff file1 file2

About

Command line tool and module for computing the diff between JSON strings

Resources

Stars

Watchers

Forks

Packages

No packages published