non-json-content-types
About non-json-content-types
Handle FormData, file uploads, Blob, Uint8Array, and ReadableStream inputs in tRPC mutations. Use octetInputParser from @trpc/server/http for binary data. Route non-JSON requests with splitLink and isNonJsonSerializable() from @trpc/client. FormData and binary inputs only work with mutations (POST).
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill non-json-content-typesAfter installing, type/non-json-content-typesin Claude Code to confirm it loaded.
Comments
Markdown supported