{"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":"http://registry-npm.ywwl.com/is-image/download/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="}],"size":1710,"noattachment":false,"key":"/is-image/-/is-image-3.0.0.tgz"},"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,"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":1555679631039,"_cnpm_publish_time":1555679631039,"dist-tags":{"latest":"4.0.0"}}