Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    diff-parserpublic

    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.

    Keywords

    none

    install

    npm i diff-parser

    Downloadsweekly downloads

    7

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar