Minima.js API / @minimajs/disk / helpers / getMimeType
Function: getMimeType()
ts
function getMimeType(pathOrKey): string | undefined;Detect MIME type from file path/key using the mime-types library
Parameters
pathOrKey
string
Returns
string | undefined