Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.190.0/media_types/type_by_extension.ts";

Functions

Returns the media type associated with the file extension. Values are normalized to lower case and matched irrespective of a leading ..