Pretty Diff Explained

Pretty Diff
Developer:Austin Cheney
Latest Release Version:101.0.0
Programming Language:TypeScript
Platform:Web platform
Genre:Data comparison, prettification, minification
License:CC0

Pretty Diff is a language-aware data comparison[1] [2] utility implemented in TypeScript. The online utility is capable of source code prettification, minification, and comparison of two pieces of input text. It operates by removing code comments from supported languages and then performs a pretty-print[3] operation prior to executing the diff algorithm. An abbreviated list of unit tests is provided.[4] The documentation[5] claims the JavaScript pretty-print operation conforms to the requirements of JSLint.

As Pretty Diff is written entirely in TypeScript, the application executes in a web browser or on command line using a stand-alone JavaScript interpreter, such as Node.js.

As of March 23, 2016 Pretty Diff stated it would abandon NPM in response to a list of disagreements.[6] On April 18, 2016 in parallel to the release of Pretty Diff version 2.0.0. the NPM package is updated to artificial version 99 where it is effectively locked into version 1.16.37.[7] [8]

The source code is published at the Pretty Diff GitHub repository.[9]

Alternatives

See also

Notes and References

  1. Web site: Slodive - 20 Beneficial Web Development Tools.
  2. Web site: Noupe, The Curious Side of Smashing Magazine - 25+ Useful Document and File Comparison Tools.
  3. Web site: Stack Overflow - Online code beautifier and formatter.
  4. Web site: Pretty Diff samples. 2012-07-12. https://web.archive.org/web/20120731233622/http://prettydiff.com/samples.php. 2012-07-31. dead.
  5. Web site: documentation. 2012-07-07. https://web.archive.org/web/20120731233435/http://prettydiff.com/documentation.php. 2012-07-31. dead.
  6. Web site: Investigate alternatives to NPM · Issue #291 · prettydiff/prettydiff · GitHub.
  7. Web site: Release Pretty Diff v2.0.0 Published · prettydiff/prettydiff · GitHub.
  8. Web site: prettydiff - npm.
  9. Web site: Pretty Diff GitHub repository.