import { media } from "https://deno.land/x/xserver@5.0.0/src/deps.ts";
const { typeByExtension } = media;
Returns the media type associated with the file extension. Values are
normalized to lower case and matched irrespective of a leading .
.
When extension
has no associated type, the function returns undefined
.