@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
getCharset(type: string): string | undefined
Given a media type or header value, identify the encoding charset. If the
charset cannot be determined, the function returns undefined.