A Gulp plugin that logs file sizes in your build pipeline with compression and formatting options.
gulp-size is a Gulp plugin that logs the size of files as they pass through your Gulp build pipeline. It helps developers track and optimize the output size of their projects by providing total and per-file size information, with options for compressed size reporting. The plugin integrates seamlessly into existing Gulp workflows to give immediate feedback on build output.
Frontend and Node.js developers using Gulp as their build system who need to monitor and optimize the size of their compiled assets, bundles, or static files.
Developers choose gulp-size for its simplicity, seamless Gulp integration, and comprehensive size reporting features including gzip/Brotli compression calculations. It provides actionable metrics directly in the build process without requiring external tools.
Display the size of your project
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Plugs directly into Gulp streams with minimal setup, as shown in the usage example, making it easy to add size logging to existing workflows.
From the API, it calculates gzip and Brotli compressed sizes, providing actionable metrics for web performance optimization without extra tools.
Allows custom titles and individual file display via options like showFiles and title, enabling clear logging in complex build pipelines.
Exposes .size and .prettySize properties, facilitating integration with other tools like gulp-notify, as demonstrated in the README example.
Only functions within Gulp builds, rendering it useless for projects using modern alternatives like Webpack or esbuild, limiting its broader applicability.
Outputs are confined to console logs; it lacks advanced features such as historical data storage, visualizations, or automated size alerts.
Merely reports sizes without providing actionable insights or automated optimizations, requiring manual intervention to address size bloat.