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

x/oak_commons/content_disposition.ts>getFilename

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Very Popular
Latest
function getFilename
import { getFilename } from "https://deno.land/x/oak_commons@1.0.0/content_disposition.ts";

Parse a Content-Disposition header value to retrieve the filename of the file.

Parameters

header: string

Returns

string