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

x/deno/std/multipart/formfile.ts>FormFile

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface FormFile
import { type FormFile } from "https://deno.land/x/deno@v0.28.0/std/multipart/formfile.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