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

std/mime/multipart.ts>FormFile

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface FormFile
import { type FormFile } from "https://deno.land/std@0.94.0/mime/multipart.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