file-type icon indicating copy to clipboard operation
file-type copied to clipboard

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

Results 37 file-type issues
Sort by recently updated
recently updated
newest added
trafficstars

> [Personal Storage Table file](https://en.wikipedia.org/wiki/Personal_Storage_Table) Filename extension: `pst`\ Media type: [`application/vnd.ms-outlook`](https://www.loc.gov/preservation/digital/formats/fdd/fdd000377.shtml#sign) The magic numbers are `21 42 44 4E`

enhancement
help wanted

> 3D model compressed with [Google Draco](https://github.com/google/draco) Filename extension: `drc`\ Media type: `binary/octet-stream` (as used by the official [demo](https://storage.googleapis.com/demos.webmproject.org/draco/draco_loader_throw.html)) The magic numbers are: `44 52 41 43 4F`

enhancement
help wanted

We have found this specific wmv video file which file-type unfortunately identifies as an audio. Running it through a tool like `ffprobe -show_streams -show_format video.wmv `, you can see that...

improvement

Dear maintainers. First, I really appreciate that file-type has been keep maintaining. Thank you for your efforts & contributions. ## Background Recently, file-type was refactored to utilize @Borewit's awesome strtok3...

enhancement

I am aware that the `file-type` README says that it doesn't support SVG files. Based on this, I would expect that any SVG file input to `fileTypeFromBuffer` would return `undefined`....

Hello! :-) I'd love to be able to use this module in my SvelteKit app, but node:buffer dep is not something I've been able to workaround via Vite polyfill (same...

enhancement
help wanted

We've run into a situation where a lot of MP3 files that we're getting from a particular source include a junk byte that is throwing off file type detection. (They...

When trying to recognize .eml files `undefined` is returned instead of `{ "ext": "eml", "mime": "message/rfc822" }` which obviously means the format is not recognized. running the same file through...

enhancement

NIKON D610, AF-S Nikkor 24-120mm f/4G ED VR arraybuffer: 0x4D4D002A 00000008 001C00FE 00040000