npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

is-progressive-cli

3.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:0
$ npm install is-progressive-cli
DailyWeeklyMonthlyYearly

is-progressive-cli

Check if JPEG images are progressive

Can be useful to make sure your images are progressive, which is important for performance:

Progressive JPEGs are better because they are faster. Appearing faster is being faster, and perceived speed is more important that actual speed. - Progressive JPEGs: a new best practice

The check is fast as it only reads a small part of the file.

Install

npm install --global is-progressive-cli

Usage

$ is-progressive --help

  Usage
    $ is-progressive <file> ...
    $ is-progressive < <file>

  Example
    $ is-progressive baseline.jpg progressive.jpg
    ✖ baseline.jpg
    ✔ progressive.jpg
Globbing

You can use globs too if your shell supports that.

is-progressive *.jpg

Related

  • is-progressive - API for this package