{"name":"file-type","version":"21.3.2","description":"Detect the file type of a file, stream, or data","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/file-type.git"},"funding":"https://github.com/sindresorhus/file-type?sponsor=1","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{".":{"node":{"types":"./index.d.ts","import":"./index.js","module-sync":"./index.js"},"default":{"types":"./core.d.ts","import":"./core.js","module-sync":"./core.js"}},"./core":{"types":"./core.d.ts","default":"./core.js"},"./node":{"types":"./index.d.ts","default":"./index.js"}},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["mime","file","type","magic","archive","image","img","pic","picture","flash","photo","video","detect","check","is","exif","elf","macho","exe","binary","buffer","uint8array","jpg","png","apng","gif","webp","flif","xcf","cr2","cr3","orf","arw","dng","nef","rw2","raf","tif","bmp","icns","jxr","psd","indd","zip","tar","rar","gz","bz2","7z","dmg","mp4","mid","mkv","webm","mov","avi","mpg","mp2","mp3","m4a","ogg","opus","flac","wav","amr","pdf","epub","mobi","swf","rtf","woff","woff2","eot","ttf","otf","ttc","ico","flv","ps","xz","sqlite","xpi","cab","deb","ar","rpm","Z","lz","cfb","mxf","mts","wasm","webassembly","blend","bpg","docx","pptx","xlsx","3gp","j2c","jp2","jpm","jpx","mj2","aif","odt","ods","odp","xml","heic","ics","glb","pcap","dsf","lnk","alias","voc","ac3","3g2","m4b","m4p","m4v","f4a","f4b","f4p","f4v","mie","qcp","asf","ogv","ogm","oga","spx","ogx","ape","wv","cur","nes","crx","ktx","dcm","mpc","arrow","shp","aac","mp1","it","s3m","xm","skp","avif","eps","lzh","pgp","asar","stl","chm","3mf","zst","jxl","vcf","jls","pst","dwg","parquet","class","arj","cpio","ace","avro","icc","fbx","vsdx","vtt","apk","drc","lz4","potx","xltx","dotx","xltm","ots","odg","otg","otp","ott","xlsm","docm","dotm","potm","pptm","jar","jmp","rm","sav","ppsm","ppsx","tar.gz","reg","dat"],"dependencies":{"@tokenizer/inflate":"^0.4.1","strtok3":"^10.3.4","token-types":"^6.1.1","uint8array-extras":"^1.4.0"},"devDependencies":{"@tokenizer/token":"^0.3.0","@types/node":"^25.3.3","ava":"^7.0.0","commonmark":"^0.31.2","get-stream":"^9.0.1","noop-stream":"^1.0.0","tsd":"^0.33.0","xo":"^0.60.0"},"xo":{"envs":["node","browser"],"ignores":["fixture"],"rules":{"no-inner-declarations":"warn","no-await-in-loop":"warn","no-bitwise":"off","@typescript-eslint/no-unsafe-assignment":"off","unicorn/text-encoding-identifier-case":"off","unicorn/switch-case-braces":"off","unicorn/prefer-top-level-await":"off"}},"ava":{"serial":true},"gitHead":"e18028c3cc19441477c3459991fee9770d88c218","types":"./index.d.ts","_id":"file-type@21.3.2","bugs":{"url":"https://github.com/sindresorhus/file-type/issues"},"homepage":"https://github.com/sindresorhus/file-type#readme","_nodeVersion":"25.8.0","_npmVersion":"11.11.0","dist":{"shasum":"b28bb3a19ea4b03f59af31546b9d95ee8a3623eb","size":32285,"noattachment":false,"key":"/file-type/-/file-type-21.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/file-type/download/file-type-21.3.2.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file-type_21.3.2_1773387753671_0.2204142930081061"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-13T07:42:33.853Z","publish_time":1773387753853,"_source_registry_name":"default","_cnpm_publish_time":1773387753853,"dist-tags":{"latest":"22.0.1","version-16":"16.5.4"}}