Gathering detailed insights and metrics for gulp-size
Gathering detailed insights and metrics for gulp-size
Gathering detailed insights and metrics for gulp-size
Gathering detailed insights and metrics for gulp-size
npm install gulp-size
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
228 Stars
71 Commits
15 Forks
5 Watchers
1 Branches
10 Contributors
Updated on Jun 01, 2025
Latest Version
5.0.0
Package Id
gulp-size@5.0.0
Unpacked Size
6.05 kB
Size
2.76 kB
File Count
4
NPM Version
9.2.0
Node Version
18.18.2
Published on
Oct 31, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Display the size of your project
Logs out the total size of files in the stream and optionally the individual file-sizes.
1npm install --save-dev gulp-size
1import gulp from 'gulp'; 2import size from 'gulp-size'; 3 4export default () => ( 5 gulp.src('fixture.js') 6 .pipe(size()) 7 .pipe(gulp.dest('dist')) 8);
Type: object
Type: string
Default: ''
Give it a title so it's possible to distinguish the output of multiple instances logging at once.
Type: boolean
Default: false
Displays the gzipped size.
Type: boolean
Default: false
Displays the brotli compressed size.
Type: boolean
Default: false
if either of gzip or brotli is true
, otherwise true
Displays the uncompressed size.
Type: boolean
Default: true
Displays prettified size: 1337 B
→ 1.34 kB
.
Type: boolean
Default: false
Displays the size of every file instead of just the total size.
Type: boolean
Default: true
Displays the total of all files.
Type: number
Example: 12423000
The total size of all files in bytes.
Type: string
Example: 14 kB
Prettified version of .size
.
You could, for example, use this to report the total project size with gulp-notify
:
1import gulp from 'gulp'; 2import size from 'gulp-size'; 3import notify from 'gulp-notify'; 4 5export default () => ( 6 7exports.default = () => { 8 const sizeInstance = size(); 9 10 return gulp.src('fixture.js') 11 .pipe(sizeInstance) 12 .pipe(gulp.dest('dist')) 13 .pipe(notify({ 14 onLast: true, 15 message: () => `Total size ${sizeInstance.prettySize}` 16 })); 17};
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 5/30 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-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