You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-browserify-thin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

gulp-browserify-thin

A very thin extension of Browserify that causes the .bundle() method to return a vinyl file instead of a stream.

0.1.1
unpublished
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

gulp-browserify-thin

A very thin extension of Browserify that overrides the bundle() method to return a vinyl file instead of a stream.

Until you call bundle(), you are working with a plain old browserify instance. See Browserify's documentation for option and method documentation.

Installation

$ npm install gulp-browserify-thin --save-dev

Usage

In your gulpfile...

var gulp = require('gulp');
var browserify = require('gulp-browserify-thin');

gulp.task('default', function()
{
	return browserify(/* files=[] or opts={} */)
		.add(file, opts)
		.require(file, opts)
		.external(file)
		.ignore(file)
		.exclude(file)
		.transform(opts, tr)
		.plugin(plugin, opts)
		// ... and so on.

		.bundle('output.file.name.js')
		// bundle just returned a vinyl file with the above filename.

		.pipe(/* some other gulp plugin */)
		.pipe(gulp.dest('./out'));
});

Keywords

gulp

FAQs

Package last updated on 19 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts