supports-webp
Version:
Instantly detect support for WEBP images in the browser in 0.2KB
39 lines (38 loc) • 699 B
JSON
{
"name": "supports-webp",
"version": "3.0.0",
"description": "Instantly detect support for WEBP images in the browser in 0.2KB",
"keywords": [
"browser",
"canvas",
"detect",
"detection",
"fallback",
"image",
"support",
"webp"
],
"repository": "fregante/supports-webp",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
"type": "module",
"main": "index.js",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"fix": "xo --fix",
"test": "xo && tsd-check"
},
"xo": {
"env": [
"browser"
]
},
"devDependencies": {
"tsd-check": "^0.5.0",
"xo": "^0.52.3"
}
}