GitHub repository: xvrqt/webp-support
Primary language: JavaScript
Created: 2019-07-06T01:06:50Z
Description: Provides a function that tests if a browser has WebP support. Additionally supports replacing a matching class with 'webp' or 'no-webp' based on whether support is present. Useful for loading smaller images on browsers that support it.