Convert streaming vinyl files to use buffers
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1b9ac0e Dec 23, 2017
Failed to load latest commit information. first commit Feb 23, 2014 Update with correct use of Browserify (#6) Dec 23, 2017
index.js Update deps and remove file.clone() (#7) Dec 23, 2017
package.json 1.0.1 Dec 23, 2017
test.js first commit Feb 23, 2014

vinyl-buffer Flattr this!experimental

Convert streaming vinyl files to use buffers.

An alternative to gulp-streamify that you can pipe to, instead of being required to wrap your streams.

var browserify = require('browserify')
var source = require('vinyl-source-stream')
var buffer = require('vinyl-buffer')
var uglify = require('gulp-uglify')
var size = require('gulp-size')
var gulp = require('gulp')

gulp.task('build', function() {
  var bundler = browserify('./index.js')

  return bundler.bundle()




Creates a transform stream that takes vinyl files as input, and outputs modified vinyl files as output. If file.isStream(), file.contents will be converted to a Buffer before being emitted again – otherwise, the file will be emitted immediately.


MIT. See for details.