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.

/vinyl-source-buffer/

    Package Sidebar

    Install

    npm i vinyl-source-buffer

    Weekly Downloads

    19

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • zertosh