extension where we want the mimetype for
mime type of the given extension
Map a mime type to an extension or file type
mimetype where we want the extension for
filetype or extension corresponding to the given mimetype
Cut off the extension from a file path Example: '/path/to/file.docx' -> 'docx'
file path to handle
the file's type or extension
Convert raw data to a base64 string
a Buffer containing the raw data
base64 string of the raw data
Read a local file as a base64 string
path of the local file
base64 representation of the file
Generated using TypeDoc
Map an extension or file type to a mime type
error when the mimetype for the given extension is not found