@std/media-types@0.215.0
latest
Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
extensionsByType(type: string): string[] | undefined
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.
Variables
v
extensions: Map<string, string[]>
A map of extensions for a given media type.