README
webp-detect
inspired by modernizr
install
npm install @devqin/webp-detect
usage
const webpDetech = require('@devqin/webp-detech');
webpDetech.detechWebp().then(...).catch(...)
webp detech
<script type="module">
import devqinWebpDetect from 'https://cdn.skypack.dev/@devqin/webp-detect';
</script>
inspired by modernizr
npm install @devqin/webp-detect
const webpDetech = require('@devqin/webp-detech');
webpDetech.detechWebp().then(...).catch(...)