is-png
Version:
Check if a Buffer/Uint8Array is a PNG image
50 lines (49 loc) • 841 B
JSON
{
"name": "is-png",
"version": "3.0.1",
"description": "Check if a Buffer/Uint8Array is a PNG image",
"license": "MIT",
"repository": "sindresorhus/is-png",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"png",
"portable",
"network",
"graphics",
"image",
"picture",
"photo",
"type",
"detect",
"check",
"is",
"exif",
"binary",
"buffer",
"uint8array"
],
"devDependencies": {
"@types/node": "^16.7.10",
"ava": "^3.15.0",
"read-chunk": "^4.0.1",
"tsd": "^0.17.0",
"xo": "^0.44.0"
}
}