Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@hyperttp/serializer

English | Русский

Request serialization plugin for Hyperttp.

Features

  • Serializes request payloads in the Core v2 pipeline.
  • Supports protocol-neutral SendRequest, UniversalResponse, and RequestContext values.
  • Keeps payload transformation as an optional plugin.

Installation

npm install @hyperttp/serializer
# or
bun add @hyperttp/serializer

Usage

import { HyperClient } from "hyperttp";
import { withSerializer } from "@hyperttp/serializer";

const client = new HyperClient({
  plugins: [withSerializer()],
});

Configure the plugin with the exported SerializerOptions type.

License

MIT © dirold2

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages