Easily tap into a gulp pipeline without creating a plugin.
Installations
npm install gulp-tap
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.8.0
NPM Version
6.10.3
Releases
Contributors
Unable to fetch Contributors
Languages
CoffeeScript (97.41%)
Makefile (1.84%)
JavaScript (0.76%)
Developer
geejs
Download Statistics
Total Downloads
22,087,417
Last Day
2,765
Last Week
18,734
Last Month
191,314
Last Year
2,678,583
GitHub Statistics
152 Stars
66 Commits
12 Forks
6 Watching
11 Branches
8 Contributors
Bundle Size
36.70 kB
Minified
10.50 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.0.0
Package Id
gulp-tap@2.0.0
Size
5.07 kB
NPM Version
6.10.3
Node Version
12.8.0
Publised On
19 Aug 2019
Total Downloads
Cumulative downloads
Total Downloads
22,087,417
Last day
-18.2%
2,765
Compared to previous day
Last week
-52.4%
18,734
Compared to previous week
Last month
-17.6%
191,314
Compared to previous month
Last year
-16.7%
2,678,583
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
4
gulp-tap
Easily tap into a pipeline.
Install
npm install gulp-tap --save-dev
Uses
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.
1gulp.src("src/**/*.{coffee,js}") 2 .pipe(tap(function(file, t) { 3 if (path.extname(file.path) === '.coffee') { 4 return t.through(coffee, []); 5 } 6 })) 7 .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.
1tap(function(file) { 2 file.contents = Buffer.concat([ 3 new Buffer('HEADER'), 4 file.contents 5 ]); 6});
If you do not return a stream, tap forwards your changes.
Examples
See Wiki for more examples.
License
The MIT License (MIT)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 2/15 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 18 are checked with a SAST tool
Reason
30 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-897m-rjf5-jp39
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9
- Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h
- Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3
- Warn: Project is vulnerable to: MAL-2023-462
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44
- Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m / GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.9
/10
Last Scanned on 2024-12-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More