How to use the event-stream.through function in event-stream

To help you get started, we’ve selected a few event-stream examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joaomoreno / gulp-atom-electron / src / linux.js View on Github external
exports.patch = function(opts) {
	var pass = es.through();

	var src = pass
		.pipe(updateSandboxHelperPermissions())
		.pipe(opts.keepDefaultApp ? es.through() : removeDefaultApp())
		.pipe(renameApp(opts));

	return es.duplex(pass, src);
};
github joaomoreno / gulp-atom-electron / src / win32.js View on Github external
exports.patch = function(opts) {
	var pass = es.through();

	var src = pass
		.pipe(opts.keepDefaultApp ? es.through() : removeDefaultApp())
		.pipe(patchExecutable(opts))
		.pipe(renameApp(opts));

	return es.duplex(pass, src);
};
github mcfly-io / generator-sublime / templates / gulps / common / helper.js View on Github external
var addSrc = function() {
    var pass = es.through();
    return es.duplex(pass, es.merge(gulp.src.apply(gulp.src, arguments), pass));
};
github mcfly-io / generator-mcfly-ng2 / gulp_tasks / common / helper.js View on Github external
var addSrc = function() {
    var pass = es.through();
    return es.duplex(pass, es.merge(gulp.src.apply(gulp.src, arguments), pass));
};
github mcfly-io / generator-mcfly / gulp_tasks / common / helper.js View on Github external
var addSrc = function() {
    var pass = es.through();
    return es.duplex(pass, es.merge(gulp.src.apply(gulp.src, arguments), pass));
};

event-stream

construct pipes of streams of events

MIT
Latest version published 6 years ago

Package Health Score

61 / 100
Full package analysis