vinyl-assign
v1.2.1
Published
Apply custom attributes to vinyl files
Downloads
412,158
Readme
vinyl-assign
Assign custom attributes to vinyl files
Install
$ npm install --save vinyl-assign
Usage
var gulp = require('gulp');
var vinylAssign = require('vinyl-assign');
gulp.task('default', function () {
return gulp.src('foo.txt')
.pipe(vinylAssign({foo: 'bar'}))
.pipe(gulp.dest('dest'));
});
License
MIT © Kevin Mårtensson