No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.jshintrc
LICENSE
README.md
index.js
package.json

README.md

gulp-gitinfo

Inspired by grunt-gitinfo. A stream that pipes git info as a JSON object

Usage

Install

npm install gulp-gitinfo --save-dev

Example

Send gitinfo to stdout

var gulp = require('gulp')
var gitinfo = require('gulp-gitinfo')
var es   = require('event-stream')
gulp.task('foo', function() {
  return gitinfo()
    .pipe(es.map(function(data, cb) {
      console.log(data)
    }))
})