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.204.0/media_types/extensions_by_type.ts";

Variables

A map of extensions for a given media type.

Functions

Returns the extensions known to be associated with the media type type. The returned extensions will each begin with a leading dot, as in .html.