2.0.1 • Published 4 years ago
is-webp-supported v2.0.1
is-webp-supported
detect whether the browser supports webp
Install
npm install is-webp-supported
Usage
import isWebPSupported from 'is-webp-supported'
const support = isWebPSupported()
// value: true/false