file-type

Detect the file type of a file, stream, or data
v21.0.0 URL: https://unpkg.com/file-type@21.0.0/index.js
OpenBrowse Files
mimefiletypemagicarchiveimageimgpicpictureflashphotovideodetectcheckisexifelfmachoexebinarybufferuint8arrayjpgpngapnggifwebpflifxcfcr2cr3orfarwdngnefrw2raftifbmpicnsjxrpsdinddziptarrargzbz27zdmgmp4midmkvwebmmovavimpgmp2mp3m4aoggopusflacwavamrpdfepubmobiswfrtfwoffwoff2eotttfotfttcicoflvpsxzsqlitexpicabdebarrpmZlzcfbmxfmtswasmwebassemblyblendbpgdocxpptxxlsx3gpj2cjp2jpmjpxmj2aifodtodsodpxmlheicicsglbpcapdsflnkaliasvocac33g2m4bm4pm4vf4af4bf4pf4vmieqcpasfogvogmogaspxogxapewvcurnescrxktxdcmmpcarrowshpaacmp1its3mxmskpavifepslzhpgpasarstlchm3mfzstjxlvcfjlspstdwgparquetclassarjcpioaceavroiccfbxvsdxvttapkdrclz4potxxltxdotxxltmotsodgotgotpottxlsmdocmdotmpotmpptmjarrmppsmppsx

image-type

Detect the image type of an ArrayBuffer/Uint8Array
v6.0.0 URL: https://unpkg.com/image-type@6.0.0/index.js
OpenBrowse Files
imagepicturephototypedetectcheckisexifbinarybufferuint8arraypngjpgjpeggifwebptifbmpjxrpsdmime

file-type-mime

Utility to parse mime type from a file content
v0.4.7 URL: https://unpkg.com/file-type-mime@0.4.7/dist/index.cjs
OpenBrowse Files
mimefiletypecontentcontent-typemime-typeparsebytesjsontextimagefontaudiovideopdfapplicationzipftyp

@sgtpooki/file-type

An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
v1.0.1 URL: https://unpkg.com/@sgtpooki/file-type@1.0.1/dist/src/index.js
OpenBrowse Files
mimefiletypemagicarchiveimageimgpicpictureflashphotovideodetectcheckisexifelfmachoexebinarybufferuint8arrayjpgpngapnggifwebpflifxcfcr2cr3orfarwdngnefrw2raftifbmpicnsjxrpsdinddziptarrargzbz27zdmgmp4midmkvwebmmovavimpgmp2mp3m4aoggopusflacwavamrpdfepubmobiswfrtfwoffwoff2eotttfotficoflvpsxzsqlitexpicabdebarrpmZlzcfbmxfmtswasmwebassemblyblendbpgdocxpptxxlsx3gpj2cjp2jpmjpxmj2aifodtodsodpxmlheicicsglbpcapdsflnkaliasvocac33g2m4bm4pm4vf4af4bf4pf4vmieqcpasfogvogmogaspxogxapewvcurnescrxktxdcmmpcarrowshpaacmp1its3mxmaiskpavifepslzhpgpasarstlchm3mfzstjxlvcfjlspstdwgparquetclassarjcpioaceavroiccfbx

validate-image-type

Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
v3.0.0 URL: https://unpkg.com/validate-image-type@3.0.0/lib/validate-image-type.js
OpenBrowse Files
imagebufffermime-typeextensionvalidatevalicatorpngjpgsvg