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

x/opine/src/utils/normalizeType.ts>normalizeTypes

Minimalist web framework for Deno ported from ExpressJS.
Go to Latest
variable normalizeTypes
import { normalizeTypes } from "https://deno.land/x/opine@2.3.3/src/utils/normalizeType.ts";

Normalize types, for example "html" becomes "text/html".

type

(types: string[]) => any[]