imagemin-lint-staged

JSON →
library 0.5.1 ·javascript
verified May 1, 2026

A CLI wrapper around imagemin designed specifically for use with lint-staged (git pre-commit hooks). Version 0.5.1 is the latest stable release. It compresses PNG, JPEG, GIF, and SVG images automatically during staged file checks, with sensible default plugins (mozjpeg, optipng, svgo, gifsicle). Unlike using imagemin directly, it integrates seamlessly into lint-staged configurations without any configuration overhead. The package is lightweight (no peer dependencies) and runs synchronously to fit lint-staged's workflow.

total hits 8
actors 3 distinct systems
last hit 5d ago AhrefsBot
GPTBot
2
Script
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇲🇽 Mexico · 🇬🇧 United Kingdom · 🇮🇳 India