non-json-content-types

Official

Handle binary inputs in tRPC mutations with ease.

AuthorPlazaCC
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enable tRPC backends to accept and process non-JSON inputs such as FormData and binary streams in mutations, avoiding reliance on JSON parsing and enabling efficient file uploads and binary data handling.

Core Features & Use Cases

  • FormData mutations: Accept FormData payloads in server mutations and read fields.
  • Binary streaming: Use octetInputParser to convert binary inputs to ReadableStream on the server.
  • Client routing: Route non-JSON requests using splitLink and isNonJsonSerializable() to ensure proper data flow.
  • Use Case: Upload files and submit binary data via mutations without manual encoding.

Quick Start

Install and configure tRPC server to use octetInputParser for binary inputs and route non-JSON requests with splitLink on the client.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: non-json-content-types
Download link: https://github.com/PlazaCC/antes-da-tela/archive/main.zip#non-json-content-types

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.