Skip to main content
Module

std/mime/mod.ts>FormFile

Deno standard library
Go to Latest
interface FormFile
import { type FormFile } from "https://deno.land/std@0.113.0/mime/mod.ts";

FormFile object

Properties

filename: string

filename

type: string

content-type header value of file

size: number

byte size of file

optional
content: Uint8Array

in-memory content of file. Either content or tempfile is set

optional
tempfile: string

temporal file path. Set if file size is bigger than specified max-memory size at reading form