# imagemin/imagemin

Minify images seamlessly

Repository: https://github.com/imagemin/imagemin
Canonical: https://ross.abutalabs.com/products/imagemin
Language: JavaScript
License: MIT
License Family: permissive
Topics: minify, imagemin, buffer, nodejs, jpg, png, gif, svg, optimization
Last push: 2025-03-07T09:39:56+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 10, release rhythm 8, longevity 100
- inputs: {"age_days": 4685, "days_push": 544, "days_rel": 544, "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 5722, forks 260 (observed 2026-08-28T04:09:28.263087+00:00)

## What it is
A Node.js library that minifies images (JPEG, PNG, GIF, SVG) through a pluggable architecture, accepting file globs or buffers and returning optimized output. It delegates actual compression to ecosystem plugins like imagemin-jpegtran and imagemin-pngquant.

## Use cases
- compress images in a node build pipeline
- minify jpg and png files before deploying a website
- optimize images in memory from a buffer
- batch shrink image file sizes with glob patterns
- integrate image compression into gulp or webpack

## When to choose
- you need programmatic, plugin-based image compression in a Node.js build step
- you want to optimize images in memory or via glob patterns
- you need a common API over multiple image codecs

## When to avoid
- you just want a command-line tool (use imagemin-cli instead)
- you need image resizing or format conversion rather than minification
- you are not working in a JavaScript/Node.js environment

## Facets
- artifact type: library
- maturity: active
- function: image-processing, compression, plugin-system
- domain: image-processing, web-development, developer-tools
- platform: cross-platform
- tags: image-minification, jpeg, png, gif, svg, build-pipeline, lossy-compression, nodejs

## Member repositories
- imagemin/imagemin (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.263087+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-29T17:53:27.622958+00:00, confidence not recorded.
  - readme: https://github.com/imagemin/imagemin (fetched 2026-08-28T04:09:28.263087+00:00, sha 5933ec75ece4)
  - registry_npm: https://registry.npmjs.org/imagemin (fetched 2026-08-29T08:49:02.389758+00:00, sha 38d6f866e18b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
