Module

x/abc/util.ts>contentType

A better Deno framework to create web application.
Go to Latest
function contentType
import { contentType } from "https://dotland.deno.dev/x/abc@v1.3.2/util.ts";

Returns the content-type based on the extension of a path.

Parameters

filepath: string

Returns

string | undefined