gulp-attribution

0.1.0 • Public • Published

gulp-attribution

Parse JS files for attributes

install

npm install --save-dev gulp-attribution

usage

var wrap = require('gulp-wrap');
var attribution = require('gulp-attribution');

gulp.task('js', function() {
  gulp.src('src/*.js')
    .pipe(attribution())
    .pipe(wrap('// this is the <%= file.attributes.name %> module'))
    .pipe(gulp.dest('dist'));
});

Dependencies (1)

Dev Dependencies (3)

Package Sidebar

Install

npm i gulp-attribution

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • ritch