Normally Pleasant Mixture

vinyl-source-buffer

1.1.1 • Public • Published

vinyl-source-buffer

Build Status

Convert a text stream into a vinyl pipeline whose content is a buffer. The typical use case being that using a browserify stream in a gulp pipeline.

Usage

// in a gulp task
var source = require('vinyl-source-buffer');
var browserify = require('browserify');
var b = browserify('main.js');
b.bundle()
  .pipe(source('main.js'))
  .pipe(gulp.dest('public'));

Acknowledgments

vinyl-source-buffer is mostly based on vinyl-source-stream.

Keywords

install

npm i vinyl-source-buffer

Downloadsweekly downloads

98

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability