Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

337

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar