image-type
Version:
Detect the image type of an ArrayBuffer/Uint8Array
63 lines (62 loc) • 1.01 kB
JSON
{
"name": "image-type",
"version": "6.0.0",
"description": "Detect the image type of an ArrayBuffer/Uint8Array",
"license": "MIT",
"repository": "sindresorhus/image-type",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=20"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"image",
"picture",
"photo",
"type",
"detect",
"check",
"is",
"exif",
"binary",
"buffer",
"uint8array",
"png",
"jpg",
"jpeg",
"gif",
"webp",
"tif",
"bmp",
"jxr",
"psd",
"mime"
],
"dependencies": {
"file-type": "^20.5.0"
},
"devDependencies": {
"@types/node": "^22.15.19",
"ava": "^6.3.0",
"read-chunk": "^5.0.0",
"tsd": "^0.32.0",
"xo": "^0.60.0"
}
}