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

x/aleph/server/mime.ts>getContentType

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function getContentType
import { getContentType } from "https://deno.land/x/aleph@v0.3.0-alpha.32/server/mime.ts";

get content type by file name

Parameters

filename: string

Returns

string