{"_id":"is-image","_rev":"12-e75577078ef3920a4671f583f2bee258","name":"is-image","description":"Check if a file path is an image","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"is-image","version":"1.0.0","description":"Check if a filepath is an image","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-image"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["ext","extensions","extension","file","path","check","detect","is","image","img","photo","pic","picture","jpg","jpeg","png"],"dependencies":{"image-extensions":"^1.0.1"},"devDependencies":{"ava":"0.0.4"},"gitHead":"669ce4dc71966f59d00a5856a6f86ee69241c26e","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image","_id":"is-image@1.0.0","_shasum":"71049c70c0b1082f5ee9f853943c081cf98bd7bb","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"71049c70c0b1082f5ee9f853943c081cf98bd7bb","tarball":"https://registry.npmjs.org/is-image/-/is-image-1.0.0.tgz","integrity":"sha512-qAujK+9ut3lWYs4hn+fUZ/EPgHDzMtk8ZNz57gQIn94hUaDQ5gn1yTrv4EJOAbKle/kiJsSkxz+bP9N2Z96K3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1q7o2Z5rB2k6RNyo36ytBap4QYmbtZD4D6C6UQFA4CAiEAp7BQ7D5ZPg7tS1vmHFqJB4ovz3dClzAtK+AtpsuGIDE="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.1":{"name":"is-image","version":"1.0.1","description":"Check if a filepath is an image","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-image"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["ext","extensions","extension","file","path","check","detect","is","image","img","photo","pic","picture","jpg","jpeg","png"],"dependencies":{"image-extensions":"^1.0.1"},"devDependencies":{"ava":"0.0.4"},"gitHead":"2b8a3c36fb9664f7b205bd76ab56b650b8efd589","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image","_id":"is-image@1.0.1","_shasum":"6fd51a752a1a111506d060d952118b0b989b426e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6fd51a752a1a111506d060d952118b0b989b426e","tarball":"https://registry.npmjs.org/is-image/-/is-image-1.0.1.tgz","integrity":"sha512-LqKZaaMftosdKe/OcMDRZjiSFcFB+uCsHM8XtC0YwD+rSoE8NPQzrTF6mYt+BJ6UM/VbXbB6aFaVzjg0yLXdFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEedba5LTq8K8T8aEgZX3Vpldr+CeAKyuX3GHkAqF37mAiEA/ds+Elrw6CyOIFtCSlA88HEymyHVXMSF+Muqx2YXQ5o="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"is-image","version":"2.0.0","description":"Check if a filepath is an image","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-image.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["ext","extensions","extension","file","path","check","detect","is","image","img","photo","pic","picture","jpg","jpeg","png"],"dependencies":{"image-extensions":"^1.0.1"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c72adcdc213f9f5d44851c93081044d39336708f","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image#readme","_id":"is-image@2.0.0","_shasum":"454c9569578de31869371fbfaea4958f461b3e0c","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"454c9569578de31869371fbfaea4958f461b3e0c","tarball":"https://registry.npmjs.org/is-image/-/is-image-2.0.0.tgz","integrity":"sha512-AMDgFqvNtZQ20skjgY/JGSpZ0Ar0RBFr2Jovaak3FLWiKt9ToZwIAemgnJIz+VaRryaZFfQgh+Vs/mfiOxGTGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCE1uV/6tfXXdty5Aij+B+IC3BiulA5Jpprht77FAlE5QIhAImutPWEmbvUwfGTja2n5UiiZzp85t8oAfQQ2H9kusJQ"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image-2.0.0.tgz_1499421831822_0.9300904260016978"},"directories":{}},"3.0.0":{"name":"is-image","version":"3.0.0","description":"Check if a file path is an image","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-image.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["extension","extensions","file","path","check","detect","is","image","img","photo","picture","jpg","jpeg","png"],"dependencies":{"image-extensions":"^1.1.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"d9cd7a0ded1c2878aa0b06ee66cf595339792eec","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image#readme","_id":"is-image@3.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-NNPLvwKZ/hqx1Wv+ayKvVeDOylIapVKSxK/guzmB9doAk0FEdK0KqFKbnwNbuMLEPqEY4NaBhxzB4e98fVOq2Q==","shasum":"f183431372f6f8caf7cda316a0a6dea4d41926dd","tarball":"https://registry.npmjs.org/is-image/-/is-image-3.0.0.tgz","fileCount":5,"unpackedSize":3274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcucmPCRA9TVsSAnZWagAAvNoP/35gm5/PTpeGHphrIRuC\naNdnis/ue0EYj5na5WiCCjcwZnjy9Sbeig1D+UfrcfeIWOtcdO48Q+kv3ZzC\nXqvRve2MP9Og6NRETlxgCo0VNgJiRjjotbbzaUENzwm71z/bCCQLiAdXVnK4\ngWXBeURXpBK0/MNDVCBrZpqAHFz9Uxqbao7+CN7IJWWDxk5ymvrVsu4UT03x\nNvSak6H7SbMhyL1g+0yX7hL9vmPuvz1lqFjiTad3Mnty38qBg+YhT5kvvrDL\nZDe+npj6tF06B4ggUABMNcqnglDbFSM9UiVC9XaKrEd6CoVsEGg/2dP/IqvV\nB/0AtzLOw+GvcT9QbdsaLv4v3RRFsgmivJ+d3G5mH0tniCas9lWYZSaz609F\noqRI40oTVCZSrbxyJtYCMDRD6GC13Pm7hqYFYhujdvsr7iVf2GwFPKnCkCjt\na/BzrB98cY7DPqGEDjDlIup4zdrwx3HpsUCiHlBCMTGqjS8jkVgY2gldUuWn\nRg6wX7U50S9zTzBHLT7/b95b2qxaWvoygv+jiT9RRrdRkU/Q7kDC8NnQiXMb\np7309AZsSZhIfW29q1Qq5j9BYAWTH8BZs9sdb09ttEgnEMisZcUAu6mnS+UH\np49e4n17DgGUJmZcbqv2QdUNzgmCqCpaHQE1sBMqcMtgjWYFhZfy/D5XbelH\na2sw\r\n=uXNE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo10+vlb+3q6M/iTXdy+jiXEkW4QTlyCLtJiGUa6DolQIgId2bDg54FzEjNlnJljJ2xJbvbQawOGTcUn5wEUWXiUk="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image_3.0.0_1555679630494_0.3465336260976315"},"_hasShrinkwrap":false},"3.1.0":{"name":"is-image","version":"3.1.0","description":"Check if a file path is an image","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-image.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["extension","extensions","file","path","check","detect","is","image","img","photo","picture","jpg","jpeg","png"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"types":"./index.d.ts","gitHead":"b8cc2ef6dee8f8953439968ad92678814e0341bb","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image#readme","_id":"is-image@3.1.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-0sJQkCqLMZzyYl3XNYKjGnZDoZQ7dNOjKh9eFeS5OEu4y8UDPaI9szML8sB1pBVpqfYt/wmRy6e7TwZHkT0KIg==","shasum":"d8e5e8370474297cba8ad259ec6f213ed506133e","tarball":"https://registry.npmjs.org/is-image/-/is-image-3.1.0.tgz","fileCount":5,"unpackedSize":3945,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTc0pbMW0Am2PGQ8sL2NN4W99x4UJsjei+C9S6grp4kAiEAu/xDVZ/Uxu/x8/oeYvq/e8+Y284B09reOUrZSwMzlNs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixY8uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpznA/+P7r+AfTCX9DNMyWq5EydBcq8QIcYHtl4it9vYvBZzEpLgfYF\r\nMSi9pjUlcpIuD0749qysIjmP+1gUNJ9AqRpOvbHwXC8px2E9ZaeYWQVqhlN2\r\nkKDAo6JlpMSxzstFMJC0b3AzkijRtHn1xFyUo74lAqQvlS+GXN6ABA+7GrTW\r\nqk/PTs+oe2ih8LaWZCHJ567KdeTkQxDIE6orBK39ealwUpqjL9eGWc00ntgN\r\nBKs8F0J8LduD+Z6n2Hs4ESy1la0TGI8lpNser0P+PC4rK/TzZaBLWBW9zTng\r\n4rzovcpj0Vm5zg82Z3LlTHarN6ChziJYckFJxRn/5q+mO5dEaYxk2rm8LqBP\r\nq3ulplJiJHsRdZYEh06q8eiD5wf7+8QbXL+hsYMSaIyBbQSlzxE/NmOEcjz5\r\nW75qIhVJqHey8TjThXf/wzN1DJF2kOGIyEbPZSemzollDcj40BXPEKBzNg1q\r\nRP/j8hcWoPeUHvcV+IFFGXvOSVK6GUQY+akuxPqC8souR7p/8KokPwVibDX6\r\n7EanFfPynoV8H6tzOlpIYp1teOUTeSEzLqzxasWSd28JNYKY905U7Zg0ROTW\r\nouKU0BGm3yHVhN7AWE1bOpjODrHfVKrVy18J2A/0u671qIwi03Kto5EOxPw9\r\n4lBb/KINS/6B34iGb6JT4We+LJwLSUCnPzI=\r\n=wVbB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image_3.1.0_1657114414781_0.30325488157051717"},"_hasShrinkwrap":false},"4.0.0":{"name":"is-image","version":"4.0.0","description":"Check if a file path is an image","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-image.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["extension","extensions","file","path","check","detect","is","image","img","photo","picture","jpg","jpeg","png"],"devDependencies":{"ava":"^5.3.1","tsd":"^0.28.1","xo":"^0.55.0"},"types":"./index.d.ts","gitHead":"8e344a9f1a5e8d81f0c3554837580ba913984d51","bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"homepage":"https://github.com/sindresorhus/is-image#readme","_id":"is-image@4.0.0","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-GaEydOss69aTWNUH0EczOLH7WhNeEjf61fqU4pxUZE7+s86T2X3tEtolOkQ8mI5esdsNHl68ogD9h4cUWSSMog==","shasum":"3caa93ce42406e8bc631e74aa9ca6764ea2f3e70","tarball":"https://registry.npmjs.org/is-image/-/is-image-4.0.0.tgz","fileCount":5,"unpackedSize":3969,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6hGpO2c3mW5sFWNZDDUEb76Yr2H2mBjzr9eDQGhMU5AIhAJkv5PP56jfBXrbcZ8AXJQHEVhghrOZTk/0L/hKEucpd"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image_4.0.0_1690303595916_0.5540357714421815"},"_hasShrinkwrap":false}},"readme":"# is-image\n\n> Check if a file path is an image\n\nIt just checks the extension. Use [`image-type`](https://github.com/sindresorhus/image-type) if you want to check the actual file.\n\n## Install\n\n```sh\nnpm install is-image\n```\n\n## Usage\n\n```js\nimport isImage from 'is-image';\n\nisImage('source/unicorn.png');\n//=> true\n\nisImage('source/unicorn.txt');\n//=> false\n```\n\n## Related\n\n- [image-extensions](https://github.com/arthurvr/image-extensions) - List of image extensions\n- [image-type](https://github.com/sindresorhus/image-type) - Detect the image type of a Buffer/Uint8Array\n- [is-text-path](https://github.com/sindresorhus/is-text-path) - Check if a filepath is a text file\n- [is-binary-path](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-07-25T16:46:36.271Z","created":"2015-05-17T18:57:24.656Z","1.0.0":"2015-05-17T18:57:24.656Z","1.0.1":"2015-05-25T11:28:33.275Z","2.0.0":"2017-07-07T10:03:53.045Z","3.0.0":"2019-04-19T13:13:51.039Z","3.1.0":"2022-07-06T13:33:34.908Z","4.0.0":"2023-07-25T16:46:36.103Z"},"homepage":"https://github.com/sindresorhus/is-image#readme","keywords":["extension","extensions","file","path","check","detect","is","image","img","photo","picture","jpg","jpeg","png"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-image.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/is-image/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"wzbg":true,"helder":true,"rocket0191":true}}