GitHub repository: l3dlp-sandbox/validate-image-type
Description: Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.