Skip to main content
Module

x/mime_types/mod.ts>charset

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

Get the default charset for a MIME type.

Parameters

type: string

Returns

false | string