x/mime_types@1.0.0/mod.ts

TypeScript portage of mime-types (on npm) for Deno.
Latest
import * as mimeTypes from "https://deno.land/x/mime_types@1.0.0/mod.ts";

Functions

Get the default charset for a MIME type.

Create a full Content-Type header given a MIME type or extension.

Get the default extension for a MIME type.

Lookup the MIME type for a file path/extension.