npm.io
0.0.2 • Published 7 years ago

gulp-git-mtime

Licence
MIT
Version
0.0.2
Deps
3
Size
4 kB
Vulns
6
Weekly
0

gulp-git-mtime

===========

Sync the mtime by git for gulp

Usage

First, install gulp-git-mtime as a development dependency:

npm install --save-dev gulp-git-mtime

Then, add it to your gulpfile.js:

Simple

var mtimer = require('gulp-git-mtime');

gulp.task('mtimer', function(){
  return gulp.src('./public/**/*.md')
    .pipe(mtimer())
    .pipe(gulp.dest('./'));
});