Pretty Diff
Page Module:Infobox/styles.css has no content.
| Pretty Diff | |
|---|---|
| [[Programmer|DeveloperTemplate:Pluralize from text]] | Austin Cheney |
| Initial release | March 3, 2009 |
| Written in | TypeScript |
| Platform | Web platform |
| Type | Data comparison, prettification, minification |
| License | CC0 |
| Website | Lua error in package.lua at line 80: module 'Module:If preview' not found. |
Script error: No such module "Check for conflicting parameters".
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
- JS Diff Lib - Diff tool written in JavaScript
- JS Beautify - HTML and JavaScript beautification
- JSMin - Minifier for JavaScript written in JavaScript
- CSSmin - Minifier for CSS
- Google Closure Compiler - Minifier for CSS, JavaScript, and HTML.
See also
- Comparison of file comparison tools - Diff tools
- Diff
- Obfuscated code
- Longest common subsequence problem
- Markup language
- Levenshtein distance
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content."Slodive - 20 Beneficial Web Development Tools". Archived from the original on September 12, 2011.
- ^ Page Module:Citation/CS1/styles.css has no content."Noupe, The Curious Side of Smashing Magazine - 25+ Useful Document and File Comparison Tools". 2 April 2024.
- ^ Page Module:Citation/CS1/styles.css has no content."Stack Overflow - Online code beautifier and formatter".
- ^ Page Module:Citation/CS1/styles.css has no content."Pretty Diff samples". Archived from the original on 2012-07-31. Retrieved 2012-07-12.
- ^ Page Module:Citation/CS1/styles.css has no content."documentation". Archived from the original on 2012-07-31. Retrieved 2012-07-07.
- ^ Page Module:Citation/CS1/styles.css has no content."Investigate alternatives to NPM · Issue #291 · prettydiff/prettydiff · GitHub". GitHub.
- ^ Page Module:Citation/CS1/styles.css has no content."Release Pretty Diff v2.0.0 Published · prettydiff/prettydiff · GitHub". GitHub.
- ^ Page Module:Citation/CS1/styles.css has no content."prettydiff - npm". 2 September 2019.
- ^ Page Module:Citation/CS1/styles.css has no content."Pretty Diff GitHub repository". GitHub.
External links
- No URL found. Please specify a URL here or add one to Wikidata.
- prettydiff on GitHub