Skip to main content
Module

x/type_is/deps.ts>parse

Infer the content-type of a HTTP Header for Deno
Latest
function parse
import { parse } from "https://deno.land/x/type_is@1.0.3/deps.ts";

Parse media type to object.

Parameters

str: string

Returns

ContentType