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

x/opine/src/utils/contentDisposition.ts>contentDisposition

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

Creates a Content-Disposition Header value from a type and an optional filename.

type

(type: string, filename?: string) => string