Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aleph/lib/mime.ts>getContentType

The Full-stack Framework in Deno.
Go to Latest
function getContentType
import { getContentType } from "https://deno.land/x/aleph@1.0.0-alpha.71/lib/mime.ts";

get the content type by file name

Parameters

filename: string

Returns

string