Function getMimeType

  • Parameters

    • filename: string

      The filename to analyze

    Returns string

    The MIME type for the file extension, or "application/octet-stream" if not found