Pretty Diff

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bender235 (talk | contribs) at 15:24, 25 July 2016 (clean up; http->https (see this RfC) using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Pretty Diff
Developer(s)Austin Cheney
Initial releaseMarch 3, 2009
Repository
PlatformWeb, Command line
TypeData comparison, Pretty-print, Minify
LicenseOpen source
Websiteprettydiff.com

Pretty Diff is a language-aware data comparison[1][2] utility implemented in JavaScript. The online utility is capable of source code beautification, 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 JavaScript, the application executes in a web browser or on command line using a stand-alone JavaScript interpreter, such as Node.js or with WSH provided a .wsf file.

As of 23 March 2016 Pretty Diff stated it would abandon NPM in response to a list of disagreements.[6] On 18 April 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

References

  1. ^ "Slodive - 20 Beneficial Web Development Tools".
  2. ^ "Noupe, The Curious Side of Smashing Magazine - 25+ Useful Document and File Comparison Tools".
  3. ^ "Stack Overflow - Online code beautifier and formatter".
  4. ^ "Pretty Diff samples".
  5. ^ "documentation".
  6. ^ https://github.com/prettydiff/prettydiff/issues/291. {{cite web}}: Missing or empty |title= (help)
  7. ^ https://github.com/prettydiff/prettydiff/releases/tag/v2.0.0. {{cite web}}: Missing or empty |title= (help)
  8. ^ https://www.npmjs.com/package/prettydiff. {{cite web}}: Missing or empty |title= (help)
  9. ^ "Pretty Diff GitHub repository".