Skip to content
Convert a text stream into a vinyl pipeline whose content is a buffer
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.
.gitignore
.npmignore
.travis.yml
README.md
package.json
test.js
vinyl-source-buffer.js

README.md

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.

You can’t perform that action at this time.