vinyl-assign

1.2.1 • Public • Published

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

/vinyl-assign/

    Package Sidebar

    Install

    npm i vinyl-assign

    Weekly Downloads

    127,713

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • kevva