lint-staged-imagemin
JSON →Easily configure imagemin to work with lint-staged. This npm package (v1.3.0, latest) provides a simple wrapper to run imagemin optimization on staged files within the lint-staged pipeline. It is designed for developers using lint-staged who want to automatically compress images (PNG, JPEG, GIF, SVG) as part of their pre-commit hooks. The package is lightweight but depends on imagemin and its plugins being installed separately. It is a niche utility with low release cadence (last update ~5 years ago). Alternative: use imagemin directly in a lint-staged config.
Resources
packagelint-staged-imagemin ↗
API endpoints
full doc /v1/registry/lint-staged-imagemin