Deprecated
use Deno std/media_types instead
import { lookup } from "https://deno.land/x/accepts@1.0.0/deps.ts";
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using contentType()
though instead.
use Deno std/media_types instead
import { lookup } from "https://deno.land/x/accepts@1.0.0/deps.ts";
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using contentType()
though instead.