Closed
Description
Currently, the package only does file-to-content type conversion via the lookupMimeType
function. As the extension maps already exist, it'd be easy to add both sides of the lookup, something like:
print(lookupExtension('text/html')); // html
print(lookupExtension('application/pdf')); // pdf