Module

x/zipjs/index.d.ts>getMimeType

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Latest
function getMimeType
import { getMimeType } from "https://dotland.deno.dev/x/zipjs@v2.7.53/index.d.ts";

Returns the MIME type corresponding to a filename extension.

Parameters

fileExtension: string

the extension of the filename.

Returns

string

The corresponding MIME type.