Installations
npm install gulp-aggregate
Developer Guide
Typescript
No
Module System
CommonJS
NPM Version
1.4.3
Score
67.2
Supply Chain
71.6
Quality
74
Maintenance
25
Vulnerability
98.9
License
Contributors
Unable to fetch Contributors
Love this project? Help keep it running — sponsor us today! 🚀
Developer
andresberrios
Download Statistics
Total Downloads
26,794
Last Day
12
Last Week
34
Last Month
161
Last Year
2,236
GitHub Statistics
MIT License
4 Stars
7 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jul 08, 2019
Bundle Size
36.32 kB
Minified
12.64 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.1.1
Package Id
gulp-aggregate@0.1.1
Size
3.14 kB
NPM Version
1.4.3
Total Downloads
Cumulative downloads
Total Downloads
26,794
Last Day
50%
12
Compared to previous day
Last Week
-30.6%
34
Compared to previous week
Last Month
91.7%
161
Compared to previous month
Last Year
37.9%
2,236
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Dev Dependencies
3
gulp-aggregate
Gulp plugin that acts like a buffer, but a bit differently:
gulp-aggregate is a Through stream with a twist.
Every time the stream receives a file, it will keep it in an
in-memory buffer along with the files received in the past,
keeping one copy per file path.
It then writes the full batch of files into a new stream
(which is passed to a callback function) and emits the end
event on that stream.
This behaviour allows you to use continuous streams (that never
emit the end
event, like gulp-watch
)
and make them play well with other gulp plugins that expect the source
stream to end (like gulp-concat
and gulp-inject
).
Example:
1watch = require('gulp-watch'); 2aggregate = require('gulp-aggregate'); 3 4// concat requires 'end' event in order to concat all the files 5concat = require('gulp-concat'); 6 7fileStreamWithNoEndEvent = watch({glob: 'watchedScripts/*.js'}) 8.pipe(aggregate({debounce: 10}, function(fileStreamWithEndEvent) { 9 return fileStreamWithEndEvent 10 .pipe(concat('concatenated.js')) 11 .pipe(gulp.dest('public/scripts')); 12}))
The default debounce
time is 50ms. After debounce
milliseconds without
receiving data, the callback
function will get called with the new aggregated stream.

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/7 approved changesets -- 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'
Score
3
/10
Last Scanned on 2025-02-10
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