{"_id":"is-file-animated","_rev":"2-7b2066d948d82459916b5a7b60344b90","name":"is-file-animated","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"is-file-animated","version":"1.0.0","description":"Detects animated images from file handles e.g. Blob/File or fs.FileHandle","keywords":["animated","animated gif","animated image","animated png","animated webp","animation","apng","gif","png","webp"],"homepage":"https://github.com/saschanaz/is-file-animated","bugs":{"url":"https://github.com/saschanaz/is-file-animated/issues"},"repository":{"type":"git","url":"git+https://github.com/saschanaz/is-file-animated.git"},"license":"MIT","author":{"name":"Kagami Rosylight","email":"krosylight@proton.me"},"main":"lib/index.js","type":"module","scripts":{"commit":"git-cz","commit:retry":"git-cz --retry","commitmsg":"commitlint -e","release":"standard-version","test":"standard && tape test/*.js | tap-spec","test-ci":"standard && istanbul cover --report lcovonly -- tape test/*.js | tap-spec"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"config":{"commitizen":{"path":"node_modules/@commitlint/prompt"}},"devDependencies":{"@commitlint/cli":"^16.0.2","@commitlint/config-conventional":"^7.5.0","@commitlint/prompt":"^16.0.0","@commitlint/travis-cli":"^16.0.2","commitizen":"^4.2.4","husky":"^1.3.1","istanbul":"^0.4.3","standard":"^15.0.1","standard-version":"^9.3.2","tap-spec":"^2.2.2","tape":"^5.6.1"},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"d5f67174a0952731dd264910f14d515a13c2ff9b","_id":"is-file-animated@1.0.0","_nodeVersion":"19.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-DE8b6CLsjMLteS8vONF+F7ctf2TbhyBK+gDOL4LXZHjOQ+i5sO7sj6k2hfEXz93GYkYqc7efoOI4+BbuPLTqTw==","shasum":"ecd4c3444b8073c046d92a4c40fdd1b6f5c49171","tarball":"https://registry.npmjs.org/is-file-animated/-/is-file-animated-1.0.0.tgz","fileCount":8,"unpackedSize":12652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4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"saschanaz","email":"saschanaz@outlook.com"},"directories":{},"maintainers":[{"name":"saschanaz","email":"saschanaz@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-file-animated_1.0.0_1671186872378_0.037173305686544866"},"_hasShrinkwrap":false},"1.0.1":{"name":"is-file-animated","version":"1.0.1","description":"Detects animated images from file handles e.g. Blob/File or fs.FileHandle","keywords":["animated","animated gif","animated image","animated png","animated webp","animation","apng","gif","png","webp"],"homepage":"https://github.com/saschanaz/is-file-animated","bugs":{"url":"https://github.com/saschanaz/is-file-animated/issues"},"repository":{"type":"git","url":"git+https://github.com/saschanaz/is-file-animated.git"},"license":"MIT","author":{"name":"Kagami Rosylight","email":"krosylight@proton.me"},"main":"lib/index.js","types":"types/index.d.ts","type":"module","scripts":{"commit":"git-cz","commit:retry":"git-cz --retry","commitmsg":"commitlint -e","release":"standard-version","test":"standard && tape test/*.js | tap-spec","test-ci":"standard && istanbul cover --report lcovonly -- tape test/*.js | tap-spec","type":"tsc -p jsconfig.json"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"config":{"commitizen":{"path":"node_modules/@commitlint/prompt"}},"devDependencies":{"@commitlint/cli":"^16.0.2","@commitlint/config-conventional":"^7.5.0","@commitlint/prompt":"^16.0.0","@commitlint/travis-cli":"^16.0.2","commitizen":"^4.2.4","husky":"^1.3.1","istanbul":"^0.4.3","standard":"^15.0.1","standard-version":"^9.3.2","tap-spec":"^2.2.2","tape":"^5.6.1","typescript":"^4.9.4"},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"00ba845be9381a2e1093cc0714aad438dfe9744a","_id":"is-file-animated@1.0.1","_nodeVersion":"19.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-KTQ+7WrEG0gcBT6/0W6TGqqRGcBl+2GxtRyOM2iVYzO7YlzItn0LoOOA+TbV6WaHTpJ5rDF5hi0RJMCQWJudVg==","shasum":"bfd17b050e55e35fac1890d748d0951a63655ec2","tarball":"https://registry.npmjs.org/is-file-animated/-/is-file-animated-1.0.1.tgz","fileCount":13,"unpackedSize":15283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwX2R3lTJyjIBcCDDZvLOCToSXyEfCsqv37cwAggvxRQIhAMMhblggmDgwWw6SGyTMDKTKO/wNzgTZmmgWJuwcEd85"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnV8CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKpg//fPDxTHe4B/IZRcYLr148mGq1Q5rQFFOD+hL4mpR5I8+TMKCa\r\nudywGjUH8IajEM2ARpKZXl8H6uTP44GpjC60sM/5EuKaljyQ99oCeQEifeH4\r\nPVsrO2aoCFzy7bIxMjSo05glyv90SNOc0Q3FMuDqYN22SuHUzXNUPl8xDvwk\r\njgjOS4OmRoS56U7IF9Uqywntnmt3vAUVcCalqwO/elwE/ufpaVr9GYPq+3fy\r\nKmOCaXK1BJEp3pLe+OaZXpH1eGD6+hIQ6Z1a+y3+AUdQLxIjidNm4bugl0K+\r\nec6K84j4brxvUBR6UDO/Dl+QH63vc2uzCPLz5khCMkM26rJUpXDIO0LGs3QJ\r\nftBIEb0ur4VzoBGsg0DDS1FQAlFGBj6tDSLBsrgh9Bf+y2npUG94exiJyu1f\r\nTY1O7EOf9V9XGK0rNWiC2McnO/us06qPsh66Vk+WdDy7JS9jhh9feee7X7dY\r\nmcqZ7bsbHhUy3spyXmNr70MKM/krM9PtvHxJgv+LiYsauh/mEGswSyGdKXas\r\nOogA6G1Mk3e0S+4pKC5LDOwuw231wka7Ggz1Qf0mmust4YvV/in58WKAcOJD\r\nC2RH6VYpY5gsG9au/NMVNe45YGu8YKTQoOZ3vQ7YiKzYFFS8XTeD+xV4Rsb0\r\n5HpgpY0waamyFX+Gl0p4ybkB0cBmqRDApgc=\r\n=ikJE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"saschanaz","email":"saschanaz@outlook.com"},"directories":{},"maintainers":[{"name":"saschanaz","email":"saschanaz@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-file-animated_1.0.1_1671257857921_0.3826459277242593"},"_hasShrinkwrap":false},"1.0.2":{"name":"is-file-animated","version":"1.0.2","description":"Detects animated images from file handles e.g. Blob/File or fs.FileHandle","keywords":["animated","animated gif","animated image","animated png","animated webp","animation","apng","gif","png","webp"],"homepage":"https://github.com/saschanaz/is-file-animated","bugs":{"url":"https://github.com/saschanaz/is-file-animated/issues"},"repository":{"type":"git","url":"git+https://github.com/saschanaz/is-file-animated.git"},"license":"MIT","author":{"name":"Kagami Rosylight","email":"krosylight@proton.me"},"main":"lib/index.js","types":"types/index.d.ts","type":"module","scripts":{"commit":"git-cz","commit:retry":"git-cz --retry","commitmsg":"commitlint -e","release":"standard-version","test":"standard && tape test/*.js | tap-spec","test-ci":"standard && istanbul cover --report lcovonly -- tape test/*.js | tap-spec","type":"tsc -p jsconfig.json"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"config":{"commitizen":{"path":"node_modules/@commitlint/prompt"}},"devDependencies":{"@commitlint/cli":"^16.0.2","@commitlint/config-conventional":"^7.5.0","@commitlint/prompt":"^16.0.0","@commitlint/travis-cli":"^16.0.2","commitizen":"^4.2.4","husky":"^1.3.1","istanbul":"^0.4.3","standard":"^15.0.1","standard-version":"^9.3.2","tap-spec":"^2.2.2","tape":"^5.6.1","typescript":"^4.9.4"},"commitlint":{"extends":["@commitlint/config-conventional"]},"gitHead":"530e23b8e57683e47348a01c47c2fb82d470f681","_id":"is-file-animated@1.0.2","_nodeVersion":"19.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-TAYDUkvyBmxqneRU26zzpeHLAgtzEOIsRQWrtDidPT/tFK3Yc0WKgtF3u4oOEAiN0kAuVfl7MTgbD0vXdFDztA==","shasum":"b4a80c3d0471913b830b3d2eb49a3e9974327ab1","tarball":"https://registry.npmjs.org/is-file-animated/-/is-file-animated-1.0.2.tgz","fileCount":13,"unpackedSize":15321,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/A8wP17MhjvSjvnFijN1voX7w4ZMrvVC4bEb4EO4UQAiEAgRzQOPDWVlZq1PM98oWyZrZwKs71uXN+SO9SLf97a1A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnt8LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1Vg//RLUcBBKXWLewZBxum7jzeBlA92ol/KrxJTHDCVvNPUDQUMsw\r\nL3SOA8d0/f87WUo/Pgumc4LVn8f24nNwV+/XoNoJAaHyS3IHGr5obbnyNfM2\r\n/zC+ZEDh6iE9Sp0d9quAq+frOlopYaB7n1rozrHniO31z2Tywhuz0nzukCwt\r\ng8kasAqPrVN/NzoHmrifZ/STX7OcvAnlsz0k2WL9oOQzlShfqd6ECS/pZVjR\r\nWI1Ld/QzmOaQUs+lMQtbBS9MY31RoLtA9+1ED3TDrGQWyCvnmzHtDQ9fY9nK\r\ncHpTCNHduY5we2BZoQanR0ejQNzxrPsABmSA9RKKPeycvxP9oxqnzJKOTDpg\r\noOi21tGfgp0PaV7AVQ8sKqmCpMZNqRrMGFVBu1lk/oQdu+xcUzarE4Uv7bbe\r\nFByXoDr4bBGY6Qtl2Qxw3y45QJJ95Xvwi27fcT4dMjwX/ZnMrUVGy26pgbIP\r\ngE1OXI1bczK4Oc+9V9obTTuv/XR3FQJMbLt0ZY+V1oK/QDrXlcNDcEeAU0dw\r\nNwhR/71ZBP/SrUAXtW4UpJQf0ur4SoU29LZjsbDDRJoRoSkrXZL3HrAe+WNl\r\nA/AAUis3hNZqURLlu2f0x00v2vp21q6a9RCHZS1HMDXtK66ltgQG8XFNPN/L\r\n2nq5CHnFiuquWpc0ZR4fxmA1saP7rP7DjXI=\r\n=gnL6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"saschanaz","email":"saschanaz@outlook.com"},"directories":{},"maintainers":[{"name":"saschanaz","email":"saschanaz@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-file-animated_1.0.2_1671356171712_0.7294855502728625"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-16T10:34:32.378Z","1.0.0":"2022-12-16T10:34:32.519Z","modified":"2022-12-18T09:36:11.981Z","1.0.1":"2022-12-17T06:17:38.133Z","1.0.2":"2022-12-18T09:36:11.895Z"},"maintainers":[{"name":"saschanaz","email":"saschanaz@outlook.com"}],"description":"Detects animated images from file handles e.g. Blob/File or fs.FileHandle","homepage":"https://github.com/saschanaz/is-file-animated","keywords":["animated","animated gif","animated image","animated png","animated webp","animation","apng","gif","png","webp"],"repository":{"type":"git","url":"git+https://github.com/saschanaz/is-file-animated.git"},"author":{"name":"Kagami Rosylight","email":"krosylight@proton.me"},"bugs":{"url":"https://github.com/saschanaz/is-file-animated/issues"},"license":"MIT","readme":"# is-file-animated\n\n[![npm][npm-image]][npm-url]\n[![ci][ci-image]][ci-url]\n[![standard][standard-image]][standard-url]\n[![standard version][standard-version-image]][standard-version-url]\n\n**is-file-animated** is a simple library for detecting animated GIF/PNG/WebP images from Blob/File or fs.FileHandle.\n\n## Install\n\n```\nnpm install is-file-animated\n```\n\n## Example\n\nOn browsers and similar environments:\n\n```js\nimport isAnimated from 'https://cdn.jsdelivr.net/npm/is-file-animated/+esm'\n\nconst response = await fetch(url)\n\nconst blob = await response.blob()\nconst answer = await isAnimated(blob) ? 'Yes' : 'No'\nconsole.log(`Is \"${url}\" animated? ${answer}.`)\n```\n\nOn Node.js:\n\n```js\nimport { open } from 'fs/promises'\nimport isAnimated from 'is-file-animated'\n\nconst filename = process.argv[2]\n\nconst handle = await open(filename)\nconst answer = await isAnimated(handle) ? 'Yes' : 'No'\nconsole.log(`Is \"${filename}\" animated? ${answer}.`)\n```\n\n## License\n\n[MIT](LICENSE.md)\n\n\n[npm-image]: https://img.shields.io/npm/v/is-file-animated.svg\n[npm-url]: https://www.npmjs.com/package/is-file-animated\n[ci-image]: https://github.com/saschanaz/is-file-animated/actions/workflows/ci.yml/badge.svg?branch=main\n[ci-url]: https://github.com/saschanaz/is-file-animated/actions/workflows/ci.yml\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: http://npm.im/standard\n[standard-version-image]: https://img.shields.io/badge/release-standard%20version-brightgreen.svg\n[standard-version-url]: https://github.com/conventional-changelog/standard-version\n\n\n","readmeFilename":"README.md"}