
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Easily tap into a pipeline.
npm install gulp-tap --save-dev
Some filters like gulp-coffee
process all files. What if you want to process
all JS and Coffee files in a single pipeline. Use tap
to filter out .coffee
files and process them through the coffee
filter and let JavaScript files
pass through.
gulp.src("src/**/*.{coffee,js}")
.pipe(tap(function(file, t) {
if (path.extname(file.path) === '.coffee') {
return t.through(coffee, []);
}
}))
.pipe(gulp.dest('build'));
What if you want to change content like add a header? No need for a separate filter, just change the content.
tap(function(file) {
file.contents = Buffer.concat([
new Buffer('HEADER'),
file.contents
]);
});
If you do not return a stream, tap forwards your changes.
See Wiki for more examples.
The MIT License (MIT)
FAQs
Easiest way to tap into a pipeline
The npm package gulp-tap receives a total of 37,012 weekly downloads. As such, gulp-tap popularity was classified as popular.
We found that gulp-tap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.