Skip to content

iulo/caniuse-webp

Repository files navigation

install

npm i caniuse-webp

usage

import caniuseWebp from 'caniuse-webp'

;(async function () {
  const isSupported = await caniuseWebp()
  // return {
  //   lossy: true,
  //   lossless: true,
  //   alpha: true,
  //   animation: true,
  // }

  const isSupportedWebpLossy = await caniuseWebp('lossy')
  // return true
})()

Api

caniuseWebp

can check lossylosslessalphaanimation

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published