diff-parser
Diff Parser
Last updated 7 years ago by agate .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install diff-parser 
SYNC missed versions from official npm registry.

Diff Parser

Installation

via npm:

$ npm install diff-parser # use -g if you want to use diff2html

Usage

CLI

git diff [file|dir] > filename.diff
diff2html path/to/filename.diff > filename.html

Node

var diffParser = require("diff-parser");
var diffFiles = diffParser.parse(diffString);
console.log(diffFiles); // here have all info you need.

Current Tags

  • 0.0.1                                ...           latest (7 years ago)

1 Versions

  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |