import { typeByExtension } from "https://dotland.deno.dev/std@0.181.0/media_types/mod.ts";
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
.