Getting Started
image-lint is an application for finding issues with images. Its main focus is helping to reduce bandwidth utilization and detecting broken images in web applications.
Prerequisites
To use image-lint you must first install Node.js >=16.0.0.
Running image-lint
You can run image-lint without installing it using npx
.
npx image-lint images/
Installing image-lint globally
If you use image-lint a lot, it can be install using npm.
npm install -g image-lint
And then you can run it against your images directory:
image-lint images/