efy / gitlog

Node module for working with git logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlog

A small package for retrieving and working with git logs in javascript

Installation

npm install gitlog

Usage

var gitlog = require('gitlog')

gitlog('./', function (error, commits) {
  if(error) return console.log(error)

  // Commits is an array of commits objects
  commits.forEach(function (commit) {
    console.log(commit.subject)
  })
})

API

License

MIT

About

Node module for working with git logs

License:MIT License


Languages

Language:JavaScript 100.0%