HOME

TheInfoList



OR:

Pretty Diff is a language-aware data comparison 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 Pretty-printing (or prettyprinting) is the application of any of various stylistic text formatting, formatting conventions to text files, such as source code, markup language, markup, and similar kinds of content. These formatting conventions may ...
operation prior to executing the diff algorithm. An abbreviated list of unit tests is provided. The documentation 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 A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used on ...
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. 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. The source code is published at the Pretty Diff
GitHub GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, co ...
repository.


Alternatives


JS Diff Lib
- Diff tool written in JavaScript
JS Beautify
- HTML and JavaScript beautification

- Minifier for JavaScript written in JavaScript
CSSmin
- Minifier for CSS *
Google Closure Compiler Google Closure Tools is a set of tools to help developers build rich web applications with JavaScript. It was developed by Google for use in their web applications such as Gmail, Google Docs and Google Maps. Closure Compiler The Closure Comp ...
- Minifier for CSS, JavaScript, and HTML.


See also

* Comparison of file comparison tools - Diff tools * Diff * Obfuscated code * Longest common subsequence problem *
Markup language Markup language refers to a text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts. Markup is often used to control the display of the document ...
* Levenshtein distance


References


External links

* *{{GitHub, prettydiff/prettydiff File comparison tools