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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable propsParsers
import { propsParsers } from "https://deno.land/x/blocks@1.102.6/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; }