Remove ads
From Wikipedia, the free encyclopedia
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.
Developer(s) | Austin Cheney |
---|---|
Initial release | March 3, 2009 |
Stable release | 101.0.0
/ April 21, 2019 |
Repository | |
Written in | TypeScript |
Platform | Web platform |
Type | Data comparison, prettification, minification |
License | CC0 |
Website | prettydiff |
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]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.