webp-avif-support Exports a function to check if browser support AVIF and WebP. Classes avif, webp, notavif and notwebp will be added to the html root element. Usage import checkImageSupport from './imgsupport.js' checkImageSupport()