Skip to main content
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://deno.land/x/zipjs@v2.7.43/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.