Skip to main content
Module

x/abc/util.ts>contentType

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

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

Parameters

filepath: string

Returns

string | undefined