Skip to main content
Module

x/parsec/mod.ts>urlencoded

🌌 Tiny body parser for Deno. Port of the milliparsec library.
Latest
variable urlencoded
import { urlencoded } from "https://deno.land/x/parsec@0.2.1/mod.ts";

Parse a form with the body and Content-Type: application/x-www-urlencoded header.

type

(
req: ReqWithBody<Record<string, string>>,
_?: unknown,
next?: NextFunction,
) => unknown