A one function library to return a mime-type based on the file extension found at the end of a string. ie abc.txt -> text/plain. The common types implemented are from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
This is a single function library. the one function: mime-type-from-string takes a single string and returns the mime-type based on the extension if there is no extension then it will return the value of default
(cl-mime-from-string:mime-type-from-string "abc.txt") -> "text/plain"