Skip to content
Apply custom attributes to vinyl files
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.travis.yml
index.js
license
package.json
readme.md
test.js

readme.md

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

You can’t perform that action at this time.