Skip to content

stephen-bartell/node-jsondiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-jsdiff

harness json diffing powa in the terminal

The point

Diff json objects in the terminal.

What Works

-f read from files and print entire datastructure.
"-o -" print to stdout

TODO:

  • read from stdin
  • write diff to file
  • append diff to file
  • put diff on stdout (for use in pipes)
  • connect jsdiff to couchdb. The idea would be to follow a document. Any changes are be diffed and written, appended, or piped somewhere.
  • maybe settle on a single api for difing. Right now there is jsondiffpatch and difflet
    • difflet is for printing to terminal only. I like how it prints the whole doc and uses coloring to indicate changes. colors are baked into the returned string. I dont like how it returns string only.
    • jsondiffpatch is for providing diff object only. It can be pretty printed or sent staight to stdout.

About

harness json diffing powa in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published