webp-detect inspired by modernizr install npm install @devqin/webp-detect usage const webpDetech = require('@devqin/webp-detech'); webpDetech.detechWebp().then(...).catch(...)