Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/server/media_type.ts>getContentType

The Full-stack Framework in Deno.
Go to Latest
function getContentType
import { getContentType } from "https://deno.land/x/aleph@1.0.0-beta.23/server/media_type.ts";

get the content type by file name

Parameters

filename: string

Returns

string