Skip to content

wcroachie/mime-sniff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

cursed javascript to automatically, synchronously try to detect the mime of a given BLOB.
always a wip. v2 as of 8/27/23

misc sources/further reading
https://mimesniff.spec.whatwg.org/#binary-data-byte
https://en.wikipedia.org/wiki/List_of_file_signatures
https://www.garykessler.net/library/file_sigs.html

Releases

No releases published

Packages

No packages published