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

x/deco/runtime/routes/invoke.ts>propsParsers

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable propsParsers
import { propsParsers } from "https://deno.land/x/deco@1.107.0/runtime/routes/invoke.ts";

All props parsing strategies supported by the invoke endpoint. To infer a valid strategy for a request, the getParsingStrategy function is used.

type

{ json: (req: Request) => unknown; try-json: (req: Request) => unknown; form-data: (req: Request) => unknown; search-params: (req: Request) => unknown; }