{"repo":"rtfpessoa/diff2html-cli","free":true,"listed":false,"github":"https://github.com/rtfpessoa/diff2html-cli","clone":"git clone https://github.com/rtfpessoa/diff2html-cli.git","description":"Pretty diff to html javascript cli (diff2html-cli)","language":"TypeScript","stars":601,"topics":["diff","pretty","git","html","syntax-highlighting","diff2html","cli","unified-diffs","colorized","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"diff2html-cli Diff to Html generates pretty HTML diffs from unified and git diff output in your terminal Table of Contents - Features - Online Example - Distributions - Setup - Usage - Exit Status Codes - Custom HTML wrapper template - Examples - Contribute - Developing - License - Thanks Features - Unified diff and Git diff input - line-by-line and side-by-side diff - new and old line numbers - inserted and removed lines - GitHub like style - Code syntax highlight - Line similarity matching Online Example Go to Diff2HTML Distributions - NPM CLI - [NPM / Node.js library [ES5 & ES6]](https://github.com/rtfpessoa/diff2html) - CDNJS - WebJar Setup Usage Usage: diff2html [ flags and/or options ] -- [git diff passthrough flags and options] flag alias description choices default ----- --------------------------------- -------------------------------------------------------------------------------------------------- ---------------------------- --------- -s --style Output style line , side line --fct --fileContentToggle Adds a viewed checkbox to toggle file content true , false true --sc --synchronisedScroll Synchronised horizontal scroll true , false true --hc --highlightCode Highlight code true , false true --cs --colorScheme Color scheme auto , dark , light auto --su --summary Show files summary closed , open , hidden closed -d --diffStyle Diff style word , char word --lm --matching Diff line matching type lines , words , none none --lmt --matchWordsThreshold Diff line matching w","default_branch":null,"files":null,"tree":[],"storefront":"/r/rtfpessoa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rtfpessoa/diff2html-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}