0.4.1 • Published 5 years ago

git-log-utils v0.4.1

Weekly downloads
167
License
MIT
Repository
github
Last release
5 years ago

git-log-utils

Utility methods for parsing git log output

Installation

  npm install git-log-utils
  

Usage

GitLogUtils = require('git-log-utils')

GitLogUtils.getFileCommitHistory(fileName)

Returns an array of javascript objects representing the commits that effected the requested file with line stats, that looks like this:

[{
  "id": "1c41d8f647f7ad30749edcd0a554bd94e301c651",
  "authorName": "Bee Wilkerson",
  "relativeDate": "6 days ago",
  "authorDate": 1450881433,
  "message": "docs all work again after refactoring to bumble-build",
  "body": "",
  "hash": "1c41d8f",
  "linesAdded": 2,
  "linesDeleted": 2
}, {
  ...
}]
0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

6 years ago

0.2.3

7 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago