Module

x/oak/form_data.ts>parse

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Go to Latest
function parse
import { parse } from "https://dotland.deno.dev/x/oak@14.2.0/form_data.ts";

Take a content type and the body of a request and parse it as FormData.

This is used in run-times where there isn't native support for this feature.

Parameters

contentType: string
body: ReadableStream<Uint8Array>