# sindresorhus/gulp-imagemin

Minify PNG, JPEG, GIF and SVG images

Repository: https://github.com/sindresorhus/gulp-imagemin
Canonical: https://ross.abutalabs.com/products/gulp-imagemin
Language: JavaScript
License: MIT
License Family: permissive
Topics: gulp-plugin, imagemin, javascript, nodejs, minify-images, compress-images
Last push: 2025-11-11T06:45:37+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 51, release rhythm 24, longevity 100
- inputs: {"age_days": 4629, "days_push": 295, "days_rel": 295, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1904, forks 156 (observed 2026-08-28T04:05:51.778486+00:00)

## What it is
A Gulp plugin that minifies PNG, JPEG, GIF, and SVG images using imagemin, with bundled optimizers (gifsicle, mozjpeg, optipng, svgo). It integrates image compression into Gulp build pipelines.

## Use cases
- compress images in a gulp build pipeline
- minify png and jpeg files for web
- optimize svg assets during build
- reduce image file sizes losslessly
- add image compression to frontend asset workflow

## When to choose
- your build system already uses Gulp
- you want convenient bundled optimizers for common image formats
- you need configurable per-format compression settings

## When to avoid
- you use Webpack, Vite, or another non-Gulp build tool
- you need modern formats like WebP or AVIF
- you want a standalone CLI image compressor

## Facets
- artifact type: plugin
- maturity: stable
- function: image-processing, compression, build-tool
- domain: web-development, frontend, files
- platform: cli
- tags: gulp-plugin, imagemin, image-optimization, minification, png, jpeg, gif, svg, nodejs

## Member repositories
- sindresorhus/gulp-imagemin (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.778486+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:51.589349+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/gulp-imagemin (fetched 2026-08-28T04:05:51.778486+00:00, sha 6714c5ddd2c5)
  - registry_npm: https://registry.npmjs.org/gulp-imagemin (fetched 2026-08-29T10:51:08.865620+00:00, sha 509d676ebe6c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
