A git pull request diff parser. It's just a wrapper for the diff-parser
module, so it'll work well with git.
require('git-pr-diff')(cwd: string, oldBranch: string, newBranch: string)
cwd
: Path of the local git repooldBranch
: The branch to merge intonewBranch
: The branch to merge from
const parsedDiff = require('git-pr-diff')('/Users/me/Projects/thisProj', 'origin/master', 'origin/another-branch');