$ npm install diff-parser # use -g if you want to use diff2html
git diff [file|dir] > filename.diffdiff2html path/to/filename.diff > filename.html
var diffParser = require("diff-parser");var diffFiles = diffParser.parse(diffString);console.log(diffFiles); // here have all info you need.
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more