Returns mime type from file name
getMimeType('file.txt') // text/plaingetMimeType('file.unknown') // undefinedgetMimeType('json') // application/json Copy
getMimeType('file.txt') // text/plaingetMimeType('file.unknown') // undefinedgetMimeType('json') // application/json
Returns mime type from file name