Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 529 Bytes

readme.md

File metadata and controls

29 lines (18 loc) · 529 Bytes

vinyl-assign Build Status

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