How to use the is-progressive.file function in is-progressive

To help you get started, we’ve selected a few is-progressive examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mathdroid / mathdro.id / src / util / imagemin.js View on Github external
const getNonProgressiveImages = async images => {
  const progressives = await Promise.all(images.map(isProgressive.file));
  return images.filter((_, index) => !progressives[index]);
};

is-progressive

Check if JPEG images are progressive

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular is-progressive functions