Man pages for hrbrmstr/simplemagic
Lightweight File 'MIME' Type Detection Based On Contents or Extension

get_content_typeDiscover MIME type of a file based on contents
guess_content_typeGuess MIME type from filename (extension)
simplemagicLightweight File 'MIME' Type Detection Based On Contents or...
simplemagic_mime_dbFile extension-to-MIME mapping data frame
hrbrmstr/simplemagic documentation built on April 7, 2018, 10:09 a.m.