variable MIME_TYPES

Map of file extensions to their corresponding MIME type strings.

MIME_TYPES['svg']; // 'image/svg+xml'

Type

Record<string, string>

Usage

import { MIME_TYPES } from "lib/web/index.ts";