Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
diff2html-cli
Advanced tools
Diff to Html generates pretty HTML diffs.
This project is just a CLI for diff2html-nodejs.
line-by-line
and side-by-side
diff
new and old line numbers
inserted and removed lines
GitHub like style
Go to Diff2HTML
Manually download and import diff2html.js into your page
Import Node library diff2html-nodejs into your package.json
sudo npm install -g diff2html-cli
Usage: diff2html [git-diff options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --input [file] Diff input file.
-o, --output [file] Output to file path. Defaults to stdout.
-p, --preview Open preview in the browser.
-l, --line Line by Line diff.
-s, --side Side by Side diff.
-j, --json Export diff in json format.
All contributions are welcome.
To contribute just send a pull request with your feature,fix,... and it will be reviewed asap.
Copyright 2014 Rodrigo Fernandes. Released under the terms of the MIT license.
FAQs
Fast Diff to colorized HTML
The npm package diff2html-cli receives a total of 15,830 weekly downloads. As such, diff2html-cli popularity was classified as popular.
We found that diff2html-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.