Deprecated
use Deno std/media_types instead
import { lookup } from "https://deno.land/x/attain@1.1.2/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/attain@1.1.2/deps.ts";
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using contentType()
though instead.