{"_id":"image-type","_rev":"47-6c59a9167114fe43a7bed99a1c49e602","name":"image-type","dist-tags":{"latest":"6.1.0"},"versions":{"0.1.0":{"name":"image-type","version":"0.1.0","keywords":["jpg","jpeg","image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@0.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"b1de457f45e6c3c6fce5a18d3aaa5e08f097c101","tarball":"https://registry.npmjs.org/image-type/-/image-type-0.1.0.tgz","integrity":"sha512-txb2r4J0fjUN3HRNit6CQK6Ynm67ipel+yCzLkbG6HEe404dc1NM8nxWRy1U4FwWv2N7jhj40jOIatoN2zttIQ==","signatures":[{"sig":"MEYCIQCHwSEYOUY6Gdd+bLp7a4ytM5OIHE1VBgOUu1ZpBSc59wIhAOlFO6ou4hmAdqK1ot0KXMyqMIFTS4RB2XKucIhP/YLw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.6","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^0.1.0","is-gif":"^0.1.0","is-jpg":"^0.1.0","is-jxr":"^0.1.0","is-png":"^0.1.0","is-psd":"^0.1.0","is-tif":"^0.1.0","is-webp":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"}},"0.1.1":{"name":"image-type","version":"0.1.1","keywords":["jpg","jpeg","image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@0.1.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"2f1218809a9748ee63a3c16420b900fa00964a12","tarball":"https://registry.npmjs.org/image-type/-/image-type-0.1.1.tgz","integrity":"sha512-7KCJ8f+5Apspbx6kIXpnC1QPm2D/lrTYajShKcpGF0x266EUz5iB6KaltvDD37RnfZBU4k8XODt0HmPA9gK1DQ==","signatures":[{"sig":"MEQCIAJQefsrHrWn0rCRdELg1RC9o83pRSgZfI6e2gl8mPu1AiBmVFnS+rc7mUBNc9ds/yzQTZ9jx7Wm+fNjCoG0aGdkCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.6","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^0.1.0","is-gif":"^0.1.0","is-jpg":"^0.1.0","is-jxr":"^0.1.0","is-png":"^0.1.0","is-psd":"^0.1.0","is-tif":"^0.1.0","is-webp":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"}},"0.1.2":{"name":"image-type","version":"0.1.2","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@0.1.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"5189d77eac75f2ec14c834e67a2fdb99b2bffef6","tarball":"https://registry.npmjs.org/image-type/-/image-type-0.1.2.tgz","integrity":"sha512-H0FW/jFeRBnjirafwY9WVm4dCeKuIryjlCHDz1rENtW5kURwAKi2eGISuNrl2LCYkjYsmwTfUU8CPt4dOPrpHg==","signatures":[{"sig":"MEQCIHKo1Gn6UU4OjCdVyMrctn2Uc22kqRJ855V1cYck8VJCAiBBLT20nsvnDqLaVnb52Notz4qvOKMQNiPBjQZ6NZTeUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.6","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^0.1.0","is-gif":"^0.1.0","is-jpg":"^0.1.0","is-jxr":"^0.1.0","is-png":"^0.1.0","is-psd":"^0.1.0","is-tif":"^0.1.0","is-webp":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"}},"0.1.3":{"name":"image-type","version":"0.1.3","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@0.1.3","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"4eaadec6393a4f81b51b33f417e30c4e2fcbe024","tarball":"https://registry.npmjs.org/image-type/-/image-type-0.1.3.tgz","integrity":"sha512-jvpbS8ulSLdEzixfAKk6mt1uqQjpRBY19olcEz4t5Pbu2DDGKC+q7r5NOcmEedSDm2nxgXW0oFyK+atuUGIxkg==","signatures":[{"sig":"MEUCIQDhDnre4JLncIQxnaUCae99v6sBdg2b1wDdPaHBtg3Q3QIgL06+ddQ34atrGAFPZvbzU5Y8oB5BpkbeMin3r4KoqE8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.6","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^0.1.0","is-gif":"^0.1.0","is-jpg":"^0.1.0","is-jxr":"^0.1.0","is-png":"^0.1.0","is-psd":"^0.1.0","is-tif":"^0.1.0","is-webp":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"}},"0.1.4":{"name":"image-type","version":"0.1.4","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@0.1.4","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"7cad622e2c1f2053c93599f0295a7b9ccdc161e8","tarball":"https://registry.npmjs.org/image-type/-/image-type-0.1.4.tgz","integrity":"sha512-ntp7pnagoR5Lm9HgFGdUMs9cHBtDrdVRrVnDzvFC89GLIA/bFWBBl0gI17Ci1jKj0+bSJp8LlRw9voXAVT142g==","signatures":[{"sig":"MEQCICPaliN0cYMtKEgRbZnaXa/z0sPcMqLGC5imJe+eMEgEAiAV+NaWIDXUiXKhSOQIPrj6waAZddWyrH6AHNAHwlBjRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.6","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^0.1.0","is-gif":"^0.1.0","is-jpg":"^0.1.0","is-jxr":"^0.1.0","is-png":"^0.1.0","is-psd":"^0.1.0","is-tif":"^0.1.0","is-webp":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"}},"1.0.0":{"name":"image-type","version":"1.0.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"de74656481f0ff70d28797d05aa459416dbfca67","tarball":"https://registry.npmjs.org/image-type/-/image-type-1.0.0.tgz","integrity":"sha512-/b/KSp/TGDCye6AKLQlj/GgpP0ZSg0+hJWCpWiualrN2cM3pqJTM+NLwyODYb8vGhXP/EOrD8W3SkbEM0etF4Q==","signatures":[{"sig":"MEUCIQC6CTU5CQDofqYLAPdOF+L30ghxy+jhgNva/3k9T4+q8gIgfHeCrwtzBPQ+hi9u0H1Y8GPtebs6M+pA/zqC0t1GPFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"de74656481f0ff70d28797d05aa459416dbfca67","engines":{"node":">=0.10.0"},"gitHead":"b7c53eea401f28947217c76e9a0797901e033225","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"1.4.21","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"dependencies":{"is-bmp":"^1.0.0","is-gif":"^1.0.0","is-jpg":"^1.0.0","is-jxr":"^1.0.0","is-png":"^1.0.0","is-psd":"^1.0.0","is-tif":"^1.0.0","is-webp":"^1.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"1.1.0":{"name":"image-type","version":"1.1.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@1.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"74dbbfe31a290dee57751ffff32ea5a37940ef98","tarball":"https://registry.npmjs.org/image-type/-/image-type-1.1.0.tgz","integrity":"sha512-O2Nv8i4eNyGl4lGHrttffm5k902PHxj8PFK2KRN7HvXEMwda7uGYtMjWi1stpWmmD11laFc34As1lEGvSP0bUw==","signatures":[{"sig":"MEUCIQDaa/Basdnj7S92NOfCvApwGRS0+cILXFPUiWhVSIiuWgIgZbWw+DelXRsIZzbkyN4lVqoZof7PYRygjrNcMliC1mQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"74dbbfe31a290dee57751ffff32ea5a37940ef98","engines":{"node":">=0.10.0"},"gitHead":"92dcb0d13cbbd14b4277b952e16c371e1bcce1eb","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"2.1.4","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"0.10.32","dependencies":{"meow":"^2.0.0","is-bmp":"^1.0.0","is-gif":"^1.0.0","is-jpg":"^1.0.0","is-jxr":"^1.0.0","is-png":"^1.0.0","is-psd":"^1.0.0","is-tif":"^1.0.0","is-webp":"^1.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"2.0.0":{"name":"image-type","version":"2.0.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"370924b8c2e4f9893817e82053ba990ab8e8de56","tarball":"https://registry.npmjs.org/image-type/-/image-type-2.0.0.tgz","integrity":"sha512-3hQmOw7IRSCegjAcI0eJqvOqwu/cMdtChqnmj6jrlBaB9yBPET1aIJhjd2/ZA9+kbhoXIMXK5R58hVu0JT15Iw==","signatures":[{"sig":"MEUCIHhNDjfHAsOjvc8W8crce9cI95bevjhKex0guvo1izoOAiEA/FZp1V8Jq37jYh/luBld1Hx3uSzhPGo9xpB/tSfbD1M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"370924b8c2e4f9893817e82053ba990ab8e8de56","engines":{"node":">=0.10.0"},"gitHead":"a0bb243050a31ec3214917f921aa418d0ecd6dfa","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"2.1.5","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"0.10.32","dependencies":{"meow":"^2.0.0","file-type":"^2.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"2.0.1":{"name":"image-type","version":"2.0.1","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"ff6ec5d3b8bec51526f77fa16effef0a6d8b5d3b","tarball":"https://registry.npmjs.org/image-type/-/image-type-2.0.1.tgz","integrity":"sha512-cD14AeSxgLt8BqKdDN3L4wcYDZYWxM1dpEQeGhUxTwty2ASflJZYgxWuS8v/q4WX++78wnGh+dOCai3NdOKIdg==","signatures":[{"sig":"MEUCIQDtS4t9LhcECeougfL+WgiCHrphxeu/lYYBB+H+l0INYQIgUwMB4X/KK45t+22Ye/ppdhgfyH1rg2pruH7NY6EJE7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"ff6ec5d3b8bec51526f77fa16effef0a6d8b5d3b","engines":{"node":">=0.10.0"},"gitHead":"350e1c32a19d7d3212d16a952df455407944f403","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"2.1.5","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"0.10.32","dependencies":{"meow":"^2.0.0","file-type":"^2.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"2.0.2":{"name":"image-type","version":"2.0.2","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","cli","bin","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@2.0.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"97678f5025074d93e47c7545198e96d015d831f8","tarball":"https://registry.npmjs.org/image-type/-/image-type-2.0.2.tgz","integrity":"sha512-2hPNjL6leNKwhpOZIN6NKD5ZhKokdkAircsSTfrE3ebFW8w0qLXBoeAzIxVKWm4AbpM5wd6n03Nijt9yvq9eSQ==","signatures":[{"sig":"MEUCIQDVMs5Wq33F3Fl+HnRPqrPKa4p/FfOpzsvQnVC3iaLZ7AIgTTy9G9C/MXkjsMmH+BYjWG0GPXWpFaa2NOTFY4EygKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"97678f5025074d93e47c7545198e96d015d831f8","engines":{"node":">=0.10.0"},"gitHead":"e303f7fc1e0c92164ac33b9cfe394005b0f9bbab","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"2.5.1","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"0.12.0","dependencies":{"meow":"^3.0.0","file-type":"^2.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"2.1.0":{"name":"image-type","version":"2.1.0","keywords":["cli-app","cli","bin","image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@2.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"bin":{"image-type":"cli.js"},"dist":{"shasum":"976f2388176447dca0d23317c275ba4875a35d02","tarball":"https://registry.npmjs.org/image-type/-/image-type-2.1.0.tgz","integrity":"sha512-hWFCqJNz2iK8OrocnxPbwTDeIvDU6JhHAvTKFhCbTwFELixspQowmXb0co//pw8qaNTQVXHUPT6hJhLuq2WHJw==","signatures":[{"sig":"MEUCIEjHPhibua/pHqeNbvjOaLZTY55CM3293X9r8uiW+PD2AiEAttgopzihKRanCdRwnnDMrSwWPP6FyExJHVmhLz/U9GM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"976f2388176447dca0d23317c275ba4875a35d02","engines":{"node":">=0.10.0"},"gitHead":"10a11127fd502055607553e3e7c460bfa13c431a","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/image-type","type":"git"},"_npmVersion":"2.14.4","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"4.1.1","dependencies":{"meow":"^3.3.0","file-type":"^3.0.0"},"devDependencies":{"mocha":"*","read-chunk":"^1.0.0"}},"3.0.0":{"name":"image-type","version":"3.0.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@3.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"1502af3135f906e122c877c31e94af7b7a9146c5","tarball":"https://registry.npmjs.org/image-type/-/image-type-3.0.0.tgz","integrity":"sha512-4SPc6Kv4AkWqTIoKBEA7bP7T14wqlI0aQ/fE61pXxpv3xsorMnk9vo71Q7mpnTdYLYs2TXWMXObj+AdI08dIiw==","signatures":[{"sig":"MEUCIQCeUM7lfeDep9AqOUV4Zrql7AqAhsb/0phhh6RpNckHZwIgNb3BscMKii3HgGD/mdG1zawIG+LobKDiHdNfvXV6Gf8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"1502af3135f906e122c877c31e94af7b7a9146c5","engines":{"node":">=4"},"gitHead":"3fbcd9a089d66aea181c10f9fd0ec0d4f0d2ccb9","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"2.15.11","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"4.6.2","dependencies":{"file-type":"^4.1.0"},"devDependencies":{"xo":"*","ava":"*","read-chunk":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/image-type-3.0.0.tgz_1484847882926_0.7932522117625922","host":"packages-18-east.internal.npmjs.com"}},"3.1.0":{"name":"image-type","version":"3.1.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@3.1.0","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"9148944c40c16d657174af2bd1af39d767c2c29f","tarball":"https://registry.npmjs.org/image-type/-/image-type-3.1.0.tgz","fileCount":5,"integrity":"sha512-edYRXKQ3WD2yHXFGUbwoJVn5v7j1A6Z505uZUYIfzCwOOhPGLYSc3VOucF9fqbsaUbgb37DdjOU+WV4uo7ZooQ==","signatures":[{"sig":"MEUCIQDab4z+yLR6CB5HL12uXGHaTlxwPOk48bQlIPE+6HIirQIgcT3A0RZoPqQiW+mbHfSIl2VsO9anW9WA8BtIIlqPHe8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf2rICRA9TVsSAnZWagAAxzEQAKKRcTo5fi39L/7hlu+o\nphqcQsobsk/KuODlUZ1nsgm1r3103iN0y43MLr/fS1UgP9MeKKl6084D6Jwm\nvwwb5cfA5PXrQE+I0ohYqyuz1EpjfMrTrB4nvRSxGlFMZcF+x7jRrIL9lAPI\ne0NLqt3nZAVLfTVLKArfpr/VNT2cHRkg0w9qc4W2ABNPnL5vzQyiy6OqtH9L\nwPYLY8cCpPEJBvXB58BWXYTZVU/IbXwz14NAc2IQiZBivm4WX1qM9Eqxv0YD\nh1/GFVm3A31tPq/BjQSDNukLOcu52VCXyAVKJJfhYGu6IeBgyAd20ANGJp1o\nxjKc2bXRmjas3U2PEg33puVqVoOz1vYQ8jcUqHyUtpEev9p1zsoEvUgMWLHn\nn+LQsk7nEa33nQkMASZyJei7Wz8kNj/J5uBxPwEtAZN3pcL40UFjKJWI0VWl\nr3ZvWsdejmyjCHfDnHb/lpba0Y8AbAT1AcD7h/VIKPVdS9R8bAemZeD/sLxY\ndT4vlpghVhd5o+s1zrqJsYhygb10juGa3nqkIxZKSpAoULzqfTUuBBd3/ykP\njsyhSe+vBPw+4COpMxU3lnezhy02BF70g8TpZngnneYCDTPNLitz98dX9vco\nF4epyVPcoFXCeo2TF4a+d5ERLar9FLFIs2+nv67ys68J4HXdgo1QIjUinhPD\nsE80\r\n=Aob2\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=6"},"gitHead":"80b0a1f97074947085539933e25f5aa58334ae44","scripts":{"test":"xo && ava && tsd-check"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"6.8.0","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"8.15.0","dependencies":{"file-type":"^10.9.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.3.1","tsd-check":"^0.3.0","read-chunk":"^3.0.0","@types/node":"^11.10.4"},"_npmOperationalInternal":{"tmp":"tmp/image-type_3.1.0_1551854280050_0.2577795862895622","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"image-type","version":"4.0.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@4.0.0","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"91e84c887451644706ff3297360ff3d89881fac5","tarball":"https://registry.npmjs.org/image-type/-/image-type-4.0.0.tgz","fileCount":5,"integrity":"sha512-V1NCIexmmA9dBoO07NOFXe2nTU06siLuuaGD1zLRbLfTYmGMLPShPakPf3ts6J0ctdpLpJRKFcJWKjuacwZzWA==","signatures":[{"sig":"MEQCIB9RyyJufefhzhTIm5Yn3LlFZVjZj9yndpJjZWvaQ54uAiBrusxWdmq+8zey+pkZW9gXsqGSisN6v92L08Ej6fdKvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf2tkCRA9TVsSAnZWagAAD+wP/jnfpJ1xLjnEN7YL3gYn\n6p47FI6Tct8MwNP3RhucVwTvAKGKLKKfSujLsMa/DH1jgB3n1cX7B6MzGQXP\nqFs/zcuolS5WQpulYPIxxQvaWLpetogE5vYUUFboMEcl8mdSLzYiT0epdcgI\nTmI55Jr3e9IQXw6OWG9414V0BrfM9k11kxBoslk5NDM0E6geKCqNtjxxPuZD\n6K2mCGMF/huCvaerA8o6LDDNDoXFdqrQ0IMDf+DvED5XzmOt9k0G/tOrx9iX\nhkM3nSzcubBgLdQDjK3yMf/bbZQJCM5oMIZtAEdWawDxaIeZR+ap/QSesyqj\nV6flvWUHhLnv1MSc2JS90/OcDcIpPQ5tvEQ5l2KLOvu7e0N2C43ls0VNNjl9\ngJBxogHUfhjWzrS/UJKkD5QxjEU103opRUU3mwko+pPoHls63reNow2FsPq3\n9RoSaJK7SMPTHRGsekxMHNCy4tOF7EqLGWFkFW0wAF2aqi7yB7ye+PfLbVi5\n5Vl1mlZhiq2vLM0RlSXJzmSQziS6+z0zid6qHGdCknlHmhrZtw8t/g/nZRMg\nszPhW1dh2zpU5OU2DpAjxvzl0OB0yS48rZSwrf/nZQB76ZEI2BTAI2y9uoqM\nZ2QwxIu+B6Qi10YVF+MMFOjIQM93B6tGhUvNJQ3fpBoll9YdKfYz4qVygKfc\nEdKT\r\n=W/Z7\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=6"},"gitHead":"333daed89e27a7ca967ff88221ce959ca4e78cd6","scripts":{"test":"xo && ava && tsd-check"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"6.8.0","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"8.15.0","dependencies":{"file-type":"^10.9.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.3.1","tsd-check":"^0.3.0","read-chunk":"^3.0.0","@types/node":"^11.10.4"},"_npmOperationalInternal":{"tmp":"tmp/image-type_4.0.0_1551854436326_0.016372582616225984","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"image-type","version":"4.1.0","keywords":["image","img","pic","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@4.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"72a88d64ff5021371ed67b9a466442100be57cd1","tarball":"https://registry.npmjs.org/image-type/-/image-type-4.1.0.tgz","fileCount":5,"integrity":"sha512-CFJMJ8QK8lJvRlTCEgarL4ro6hfDQKif2HjSvYCdQZESaIPV4v9imrf7BQHK+sQeTeNeMpWciR9hyC/g8ybXEg==","signatures":[{"sig":"MEYCIQD+drJYqvOiA5/i4iwqd655UwaNJNisSsWhbnuzlQwbxAIhAN1/DfFbcEYYSkEXz9yxNUszEqxhOK4xRcWOFZzfoW0e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqFJiCRA9TVsSAnZWagAAQ7IP/RR7RqHYtXf/vJZIZ+Rd\nqeF+hK5kZdxScArMcEtPcewDIUSknp97VCKNf3fCsFYtE8psHJ9Od0lV9jue\nbGB316yJpyQB2STFjJdlZq6rCrp2IrpwvZz6wjXnLanhexa7wKcEB7wZWsm8\nqawhPE05u7u0b3S/gUxjBQKEMa9X35oWiYE+hMdmPjOpImQ8Km2KC7oennOy\n7kDM1EIJsEtRMinvWJyQTwupqzRXvxnvX2sFsd6uvnJsx4OhJR+rL6+6CWQd\ns2KedK+SqHyVJJU9IxM6zIsFaKrZ9IBfR+y2wbqf79Hf3fo/LDtzwT1Djs5H\nK0eRXPOCDFUGp4HIS7ITQzk/xvOaGjag6VphxOWZ4CK2XWZ/AxoizwTXpka2\nJdbgH5fEVfDtnEc5EFEdJmDNM0a9jWSiFczzo4E6fkbSrnopLQ9N+DhTCFQr\nxMczBTlB0YAi+Quc8mJMscUcqS6qRRCkBEQqhRzBlogQOhYKu9ch6D0yX8eg\nnFD16vddZe+bR61RSRDil0nn74fDVPw6muJy/9DIPabjYXx/mRFVnN+QjGe6\nn45XTzKsrxy6fR/aHRvUMdBnz6UhsxiSPac+waEHWm3xoaG2zCYlUxnOkZj7\nE/l13mUKYYh4PybPSiBE0tDRmvpLRjH6jFk7tOKszGoh9ODY7M8nJ1+TtT1E\nym2G\r\n=6ICC\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=6"},"gitHead":"5baa5af95286a9b89f66b11022e3230f72e38ca1","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"6.4.1","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"10.15.1","dependencies":{"file-type":"^10.10.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2","read-chunk":"^3.2.0","@types/node":"^11.13.0"},"_npmOperationalInternal":{"tmp":"tmp/image-type_4.1.0_1554535009690_0.5853952055539733","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"image-type","version":"5.0.0","keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@5.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"69523dfcf7c4515dfaad2a4dd043b3aea0e4aea3","tarball":"https://registry.npmjs.org/image-type/-/image-type-5.0.0.tgz","fileCount":5,"integrity":"sha512-P3OYXZh+1Gj4d4FlOT1mgF6qGxuA+DJlgX9qz2jScki3U9BuFhvsjXdBCSrJOGPT/tinuLZHve67X6ZGloUL/w==","signatures":[{"sig":"MEQCID8XddL9hASayHqYU733EOEXODCBEa9F+Pk04LnoO5z1AiASHweu+Jn3JS2pDSkgJRWisk7Y4lyaEO5AJYokqQK5dQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5G0XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvPQ/7BR+ks9xe5wNhfkpGNCKb1rdTt6SPMRxfhSCedWQ7PyuGwiOh\r\n70XIHqiJxiz6CUzCN9kVo6JGpHOL7GfChEg8PIWve1qlAeeWnwrxnBtSTXYy\r\nTizx8zypx5kXdgGgN7NgJVRb3LUEqHjN5mDTin67Lw1V3rIsanXlIsr1xN+M\r\nYEShEd7liVhd08V0BbHCHqvV0gDfEWRjPncFfaCBlGYcpReG8pgZgN5cGyt7\r\nB0Ue5+0k64an7X4gdvVhAM0K7hMc0J655lcodEdmEM9VlD7D2Nffs2gem9X6\r\n1J5ljZaQXDyes9Dbk58dNfGMnXbIg59X/przaBdqnJE7gpp7MW5KBwy8jglK\r\nTxmrpBE7P6nQ4emf+9keCHKSV4P9AOGmkpr8IupacJ6DTE6uOCujBsVRWUnr\r\n+qqg5A18zJa2xuxGNbf0RKqJA3tKZJobmenORmhFLq6i1jdQJ3/3VDjNwvb6\r\ng0pBziCXodzPEnEir1F2uQ8V8epwR86uHiN1mUQ3BQg9iccPC+xpW8xJCd8o\r\nmGHoTF2AViiy21t/P1YdXFu2vxn/zdKUbs0BiicoSwnjLwxYSL4O6+73OcLh\r\nL2xejHrabKvNdNFj/i7gBH9hrzIOvfStcUWO3hGV6u6PfD/71fX/dEDPQYAb\r\nfjf5DHmEbN2GFild+NwKONrbR5UkqPUVP5M=\r\n=7Ynu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=14.16"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"fd839e5cd8a9fa6dc2da93b16e75f2141167b299","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"8.3.2","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"14.19.3","dependencies":{"file-type":"^17.1.4"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.51.0","ava":"^4.3.1","tsd":"^0.22.0","read-chunk":"^4.0.2","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/image-type_5.0.0_1659137303051_0.11257505446962335","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"image-type","version":"5.1.0","keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@5.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"b5d780918d32c89fa2714ee0b5095cfa71dde16e","tarball":"https://registry.npmjs.org/image-type/-/image-type-5.1.0.tgz","fileCount":5,"integrity":"sha512-7oH2RB8IkwOVRfbaG63Xlm5tYPgUy8C0HfeIoE+MQ2zfAf2d5qjyyOEKT8JAR6rcWQQLZAHDdFwdCEWf7gNOmw==","signatures":[{"sig":"MEYCIQDcrbTfZe1Z3v7LzmoyAXPdaPoZVYj4SaGRoBa7Oe84gwIhAPYfn8UQA0ZGfpTh8xGDSQiXxSf3iEI4c38qrTcK7rgZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLzXBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6SA/+Mx8V69wdGetyTG/RRWmJHu7Z1dXAchOyx6/h+C9H09CNvWDT\r\nJ8qcwWP2PF24CSbdK3o7vySKxPIR1/5xWLRerHU/w9tRnedmQ3/DyJSujrY4\r\nnqdy520/EtQZUnjdxeVl59Ubfk+FTUzTGeUNMEWwm91xu1CPgKdc9qKNJBIx\r\njFHe7Lky7vJdra3Z0/IveK/0l2RbK8ABTiOp/7IKDyeeiT/EpgweZk3lxWPV\r\n6zOMvt6WFAmbAaGYS6B+20MMaY60bSw4n6smVgp1IhvQuptHAbKCcjtFkddg\r\n5gybDuIwIgnzSeZmpo8+eR8UnPMvuRUXXVKC1b5PcLs31Vqqd7S58tZH2jgC\r\n55D1t/gtZGP+4RldTWwyLHG4ryxjjxfYyLRAHH9HiEQNbOPl33sZ70nfMTh6\r\nsahtAKL+/X1xXBcTLteTDqlgYGwtoM5EjvagZopU68nDN4msu595J1HMnL4R\r\n6qoUEydQLouhzo92Zzg+ab+CYbCtYAxn6Ww5u0rguq+N0toNJIkJ0KRwKFkN\r\nthYDRYZRM0r7YRyVklkJWEnAyCFFIDQtiwXpJtQLPyibsHoUod5e44FLymq1\r\nPA5HEti16T9W78DchgNvJ/GiVnqG4Ft7dteV53QsuU5/DcAars4MsoRBiBcs\r\nE5MKsJbYhgkkWG+GyjHL9kMdcevW2bJB2NQ=\r\n=3dEz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=14.16"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"a336b53a5c83e65937d9e4206daf394aff261154","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"8.3.2","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"14.19.3","dependencies":{"file-type":"^17.1.4"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.51.0","ava":"^4.3.1","tsd":"^0.22.0","read-chunk":"^4.0.2","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/image-type_5.1.0_1664038337737_0.3271404193082008","host":"s3://npm-registry-packages"}},"5.2.0":{"name":"image-type","version":"5.2.0","keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@5.2.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"4da3d6a5835978b3d12a667aeb58200a8490da26","tarball":"https://registry.npmjs.org/image-type/-/image-type-5.2.0.tgz","fileCount":5,"integrity":"sha512-f0+6qHeGfyEh1HhFGPUWZb+Dqqm6raKeeAR6Opt01wBBIQL32/1wpZkPQm8gcliB/Ws6oiX2ofFYXB57+CV0iQ==","signatures":[{"sig":"MEUCIELhxeaJw6o4BfqkVZOke+gOGhUIUXgUvnoQc3F75xLMAiEAxKqCJ06e0psTAhhHnQFeOi6rEknc9CbnGC/ekX30MDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw0MUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocsQ//andIUt6h18wTWoGa8+80vsmu8ycdUMU73no/SMPkEZnIMKtD\r\nb8Usx1lCcxJ/nSXThqdscIny6houyBU6xEPe/HX8vlxDCXkKiOybtgjmwTBl\r\nUtnM95NQsMed55cUEjDJz/lmSO12XU8MYK4cyAXAjRaxQJXhKDHF61hqB9pR\r\nwLWxXu/ZQt3UudiQ2mDzxYVxO3W/CPkzMxiTB0+BD7gAiBoL/It5etLEvdXN\r\n9uhu85BTWhK93jCRMdQPkYfZmA8oJzbGofwWuqh1iooJIV5DFSmJ05fdZwcd\r\nCaTUZNAypU3R2ANrcGwgm7GuHOR9GS3AmEdxKc28UR2tHgSfyU89CwFBUqwO\r\nWM5MHTqKLYCXCTWTfUfGMXYzUxcSKUIDt+1L5snTnvHPodhWOHA3N9v0GemO\r\nrx9qRAbWoQh+Pu8BltQoxYVTU/VA9YtGjW8saDbA0lQoJWpKbDLBUcclNrok\r\nN+0N9NK3yX/UDjWzpjcIyLsZAJdY7R1BMZg/ffiQNOzvMaeAn1ClBF2/oIHI\r\nSJyxifs5daGitMnQGoFZqPfgxhEaLJTkODd+BP7rvCcvdkIhgNMRvvGmK7l2\r\nnfETSifAeGz3Ec7zkuenk0CHlP05DN4eGAXUegRqelf5j7rKluhuY1dIiNaS\r\nLlI1WaEGCGxgd3usxEzdH8i2XNXyftvNPPs=\r\n=tlIw\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=14.16"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"b283630149204cdcf48aa7d76eaf6afd11ccd6bb","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"8.19.2","description":"Detect the image type of a Buffer/Uint8Array","directories":{},"_nodeVersion":"14.21.1","dependencies":{"file-type":"^18.1.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.53.1","ava":"^5.1.0","tsd":"^0.25.0","read-chunk":"^4.0.3","@types/node":"^18.11.18"},"_npmOperationalInternal":{"tmp":"tmp/image-type_5.2.0_1673741076488_0.11446978949100184","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"image-type","version":"6.0.0","keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"image-type@6.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/image-type#readme","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"dist":{"shasum":"68a9ee921393db5b5737e15c242532d06d531528","tarball":"https://registry.npmjs.org/image-type/-/image-type-6.0.0.tgz","fileCount":5,"integrity":"sha512-efpcYd/E9A7a+oanft11ceIbO9Aw0iszfJ7Qfh4QLWl2Ulsth9nnllV/L1TmzKwlQ2O5FuT08vy5zxLnGxZe8w==","signatures":[{"sig":"MEUCIFr+OzzsXLHGM/sTS9/PhkVgdoXRRNLHJlTmlOgXtjqdAiEAkGaNqj4lb2x8353pYuNSMwfWeDnbW5RgRiMxcIvPIgs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7306},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"94741b2afee0ae1d005609746d8295b25d608b8f","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/image-type.git","type":"git"},"_npmVersion":"10.9.2","description":"Detect the image type of an ArrayBuffer/Uint8Array","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"file-type":"^20.5.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","ava":"^6.3.0","tsd":"^0.32.0","read-chunk":"^5.0.0","@types/node":"^22.15.19"},"_npmOperationalInternal":{"tmp":"tmp/image-type_6.0.0_1747738094575_0.8035054126120702","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"image-type","version":"6.1.0","description":"Detect the image type of an ArrayBuffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/image-type.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"dependencies":{"file-type":"^21.3.4"},"devDependencies":{"@types/node":"^25.5.0","ava":"^7.0.0","read-chunk":"^5.0.0","tsd":"^0.33.0","xo":"^2.0.2"},"gitHead":"ecad5c1c428b5a9595c1d51d764fa1172a9477de","types":"./index.d.ts","_id":"image-type@6.1.0","bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"homepage":"https://github.com/sindresorhus/image-type#readme","_nodeVersion":"25.8.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-SBKn3TelGQdOLAROwl99gN7HUWWozZCHQIH5PmvpJUA/u5+BJBCsVz7lSO+Q3Kl2K/uw9QU6GDcksA16RtuzSw==","shasum":"2fd16690720a5688678ae33938e7174e3d9b17c1","tarball":"https://registry.npmjs.org/image-type/-/image-type-6.1.0.tgz","fileCount":5,"unpackedSize":7361,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID0oPivoDEbP29M536klKmqhsfzF+HOM/d4x2WshetbLAiEA8Pfz8cvbltBf4IsyI3zRSk6YgqFLrG3pJlkC8UKJQUk="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/image-type_6.1.0_1774354863748_0.3689423492119974"},"_hasShrinkwrap":false}},"time":{"created":"2014-04-21T17:52:54.677Z","modified":"2026-03-24T12:21:03.991Z","0.1.0":"2014-04-21T17:52:54.677Z","0.1.1":"2014-04-23T09:41:53.057Z","0.1.2":"2014-04-24T11:10:10.045Z","0.1.3":"2014-04-26T00:33:07.708Z","0.1.4":"2014-04-30T22:26:43.092Z","1.0.0":"2014-08-14T14:47:41.007Z","1.1.0":"2014-10-29T06:47:14.821Z","2.0.0":"2014-12-19T03:04:19.981Z","2.0.1":"2014-12-19T03:05:28.971Z","2.0.2":"2015-02-16T17:55:29.993Z","2.1.0":"2015-10-11T15:15:00.966Z","3.0.0":"2017-01-19T17:44:44.690Z","3.1.0":"2019-03-06T06:38:00.187Z","4.0.0":"2019-03-06T06:40:36.472Z","4.1.0":"2019-04-06T07:16:49.841Z","5.0.0":"2022-07-29T23:28:23.232Z","5.1.0":"2022-09-24T16:52:17.895Z","5.2.0":"2023-01-15T00:04:36.656Z","6.0.0":"2025-05-20T10:48:14.769Z","6.1.0":"2026-03-24T12:21:03.886Z"},"bugs":{"url":"https://github.com/sindresorhus/image-type/issues"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","homepage":"https://github.com/sindresorhus/image-type#readme","keywords":["image","picture","photo","type","detect","check","is","exif","binary","buffer","uint8array","png","jpg","jpeg","gif","webp","tif","bmp","jxr","psd","mime"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/image-type.git"},"description":"Detect the image type of an ArrayBuffer/Uint8Array","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# image-type\n\n> Detect the image type of an ArrayBuffer/Uint8Array\n\nSee the [`file-type`](https://github.com/sindresorhus/file-type) module for more file types and a CLI.\n\n## Install\n\n```sh\nnpm install image-type\n```\n\n## Usage\n\n##### Node.js\n\n```js\nimport {readChunk} from 'read-chunk';\nimport imageType, {minimumBytes} from 'image-type';\n\nconst buffer = await readChunk('unicorn.png', {length: minimumBytes});\n\nawait imageType(buffer);\n//=> {ext: 'png', mime: 'image/png'}\n```\n\nOr from a remote location:\n\n```js\nimport https from 'node:https';\nimport imageType, {minimumBytes} from 'image-type';\n\nconst url = 'https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg';\n\nhttps.get(url, response => {\n\tresponse.on('readable', () => {\n\t\t(async () => {\n\t\t\tconst chunk = response.read(minimumBytes);\n\t\t\tresponse.destroy();\n\t\t\tconsole.log(await imageType(chunk));\n\t\t\t//=> {ext: 'jpg', mime: 'image/jpeg'}\n\t\t})();\n\t});\n});\n```\n\n##### Browser\n\n```js\nconst xhr = new XMLHttpRequest();\nxhr.open('GET', 'unicorn.png');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = () => {\n\t(async () => {\n\t\tawait imageType(new Uint8Array(this.response));\n\t\t//=> {ext: 'png', mime: 'image/png'}\n\t})();\n};\n\nxhr.send();\n```\n\n## API\n\n### imageType(input)\n\nReturns an `Promise<object>` with:\n\n- `ext` - One of the [supported file types](#supported-file-types)\n- `mime` - The [MIME type](https://en.wikipedia.org/wiki/Internet_media_type)\n\nOr `undefined` when there is no match.\n\n#### input\n\nType: `ArrayBuffer | Uint8Array`\n\nIt only needs the first `minimumBytes` amount of bytes.\n\n### minimumBytes\n\nType: `number`\n\nThe minimum amount of bytes needed to detect a file type. Currently, it's 4100 bytes, but it can change, so don't hardcode it.\n\n## Supported file types\n\n- [`jpg`](https://en.wikipedia.org/wiki/JPEG)\n- [`png`](https://en.wikipedia.org/wiki/Portable_Network_Graphics)\n- [`gif`](https://en.wikipedia.org/wiki/GIF)\n- [`webp`](https://en.wikipedia.org/wiki/WebP)\n- [`flif`](https://en.wikipedia.org/wiki/Free_Lossless_Image_Format)\n- [`cr2`](https://fileinfo.com/extension/cr2)\n- [`tif`](https://en.wikipedia.org/wiki/Tagged_Image_File_Format)\n- [`bmp`](https://en.wikipedia.org/wiki/BMP_file_format)\n- [`jxr`](https://en.wikipedia.org/wiki/JPEG_XR)\n- [`psd`](https://en.wikipedia.org/wiki/Adobe_Photoshop#File_format)\n- [`ico`](https://en.wikipedia.org/wiki/ICO_(file_format))\n- [`bpg`](https://bellard.org/bpg/)\n- [`jp2`](https://en.wikipedia.org/wiki/JPEG_2000) - JPEG 2000\n- [`jpm`](https://en.wikipedia.org/wiki/JPEG_2000) - JPEG 2000\n- [`jpx`](https://en.wikipedia.org/wiki/JPEG_2000) - JPEG 2000\n- [`heic`](https://nokiatech.github.io/heif/technical.html)\n- [`cur`](https://en.wikipedia.org/wiki/ICO_(file_format))\n- [`dcm`](https://en.wikipedia.org/wiki/DICOM#Data_format) - DICOM Image File\n\n*SVG isn't included as it requires the whole file to be read, but you can get it [here](https://github.com/sindresorhus/is-svg).*\n\n## Related\n\n- [file-type](https://github.com/sindresorhus/file-type) - Detect the type of a file\n- [image-dimensions](https://github.com/sindresorhus/image-dimensions) - Get the dimensions of an image\n","readmeFilename":"readme.md","users":{"bengi":true,"t1st3":true,"mrbgit":true,"amit3vr":true,"chemzqm":true,"faraoman":true,"klombomb":true,"psbolden":true,"abdihaikal":true,"rocket0191":true,"parkerproject":true}}