{"_id":"@buxlabs/is-image","_rev":"5-e18a33c2697535ba6c94af77207ee45a","name":"@buxlabs/is-image","description":"Check if a filepath is an image","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@buxlabs/is-image","version":"1.0.0","description":"Check if a filepath is an image","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/buxlabs/is-image.git"},"keywords":["image","extension"],"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/is-image/issues"},"homepage":"https://github.com/buxlabs/is-image#readme","dependencies":{"image-extensions":"^1.1.0","utils-extname":"^1.0.0"},"gitHead":"19f5689cc6b1bfeabfb98bee1255fbef718483ce","_id":"@buxlabs/is-image@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"integrity":"sha512-I6DaFuJdhMvD0SuvQVM1xfhUVGPUneZkdc8IX3qBDm4ENqc7xFVmMU733piQrLyfnLuJfSDuwBE5Tsv8ILi7hw==","shasum":"fa5437a43d67479adca2cf6c9983f996b50864d3","tarball":"https://registry.npmjs.org/@buxlabs/is-image/-/is-image-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK6KMEq5cC2E7lqcGg5Y/Vl5+1bgBcPx0Y0a6neGYF+gIhAI7cbaC07fKlhN+QwPwnaPSuBVkWComdiU+13ff/pE0s"}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image-1.0.0.tgz_1515531019553_0.3914235301781446"},"directories":{}},"1.0.1":{"name":"@buxlabs/is-image","version":"1.0.1","description":"Check if a filepath is an image","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/buxlabs/is-image.git"},"keywords":["image","extension"],"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"license":"MIT","bugs":{"url":"https://github.com/buxlabs/is-image/issues"},"homepage":"https://github.com/buxlabs/is-image#readme","dependencies":{"image-extensions":"^1.1.0","utils-extname":"^1.0.0"},"gitHead":"f6a939e524cdb63433b60276673a4461fec4e786","_id":"@buxlabs/is-image@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"integrity":"sha512-ggsnuNLZ7OZzxyxkD/rlq+8JgV8gcPTrQNkgEDkXmRoSGIBv4B/pe/1/AOZ4i6SS4PQWfHLOOcZ6xzf4TKh24A==","shasum":"952f1e748623983731a0782357cfd38d2f36c0db","tarball":"https://registry.npmjs.org/@buxlabs/is-image/-/is-image-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEg7K85VC7UlO+7o+2bTBBpyaFB7Fnja2/2/zMkBLvj6AiEA7CQAZdFgNUt8BweCNAWIWi6OaWRuEvUnckh/wA0h3C0="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-image-1.0.1.tgz_1515532534151_0.5866471189074218"},"directories":{}}},"readme":"# is-image\n\n> Check if a filepath is an image\n\nThe package is very similar to [image-type](https://github.com/sindresorhus/image-type) but it does not depend on built in `path` and does not use `const` or `Set`. It makes it simpler to use it in older browsers without a transpilation step. It does not handle all of the edge cases as `path.extname` does though.\n\n## Install\n\n```\n$ npm install @buxlabs/is-image\n```\n\n\n## Usage\n\n```js\nvar isImage = require('@buxlabs/is-image');\n\nisImage('src/foo.png'); // true\nisImage('src/foo.txt'); // false\n```\n\n\n## Related\n\n- [image-type](https://github.com/sindresorhus/image-type) - Detect the image type of a Buffer/Uint8Array\n- [image-extensions](https://github.com/arthurvr/image-extensions) - List of image extensions\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\n\n## License\n\nMIT\n","maintainers":[{"email":"emilajdyna@gmail.com","name":"buxlabs-dev"},{"email":"emil@ajdyna.com","name":"emilos"}],"time":{"modified":"2022-04-04T21:11:00.108Z","created":"2018-01-09T20:50:19.650Z","1.0.0":"2018-01-09T20:50:19.650Z","1.0.1":"2018-01-09T21:15:35.050Z"},"homepage":"https://github.com/buxlabs/is-image#readme","keywords":["image","extension"],"repository":{"type":"git","url":"git+https://github.com/buxlabs/is-image.git"},"author":{"name":"Emil Ajdyna","email":"emil@ajdyna.com"},"bugs":{"url":"https://github.com/buxlabs/is-image/issues"},"license":"MIT","readmeFilename":"README.md"}