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@v1.1.0/util.ts";

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

Parameters

filepath: string

Returns

string | undefined