{"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":"http://registry-npm.ywwl.com/is-image/download/is-image-1.0.1.tgz","integrity":"sha512-LqKZaaMftosdKe/OcMDRZjiSFcFB+uCsHM8XtC0YwD+rSoE8NPQzrTF6mYt+BJ6UM/VbXbB6aFaVzjg0yLXdFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEedba5LTq8K8T8aEgZX3Vpldr+CeAKyuX3GHkAqF37mAiEA/ds+Elrw6CyOIFtCSlA88HEymyHVXMSF+Muqx2YXQ5o="}],"size":1561,"noattachment":false,"key":"/is-image/-/is-image-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"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","publish_time":1432553313275,"_cnpm_publish_time":1432553313275,"dist-tags":{"latest":"4.0.0"}}