🖼️ Check if an image is animated.
Created by create-n.
const imageBuffer = null /* get image buffer somewhere*/;
const getImageMeta = require('is-animated-image');
const { ext, mime, animated } = getImageMeta(imageBuffer);
if (animated) {
// is animated image
} else {
// is not animated image
}