A Gulp plugin for creating ZIP archives from files in your build pipeline.
gulp-zip is a Gulp plugin that compresses files into ZIP archives during build processes. It solves the need to automate archive creation as part of development workflows, such as packaging assets for distribution or deployment. The plugin integrates directly with Gulp's streaming API, making it efficient and easy to use in existing pipelines.
Developers using Gulp for build automation who need to generate ZIP files programmatically, such as frontend developers packaging web assets or backend developers creating downloadable bundles.
Developers choose gulp-zip for its simplicity, seamless Gulp integration, and support for both buffered and streaming modes, which ensures reliability even with large files. Its configurable options like compression control and timestamp overrides provide flexibility for stable build outputs.
ZIP compress files
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Handles both buffered and streaming file modes, integrating seamlessly with Gulp's architecture for efficient processing of large files, as highlighted in the Key Features.
Allows enabling or disabling compression via the 'compress' option, giving developers control over archive size and speed based on specific needs.
Offers a 'modifiedTime' option to override file timestamps, enabling stable archives that only change when content does, as noted in the README tips for reproducible builds.
Follows Gulp's philosophy of simplicity, ensuring predictable performance in complex pipelines without unnecessary bloat, as described in the project's philosophy.
Large ZIP files may exceed Node.js buffer limits in buffered mode, requiring careful configuration with the 'buffer' option to avoid errors, as warned in the API documentation.
Tied exclusively to the Gulp ecosystem, making it irrelevant for projects using alternative build tools or needing standalone ZIP functionality without Gulp dependencies.
Lacks advanced ZIP capabilities like password protection, archive comments, or support for other formats, limiting its use for more complex or secure archiving requirements.