Back to skills
SKILL.md
Orpc Compression
ASecurityA plugin for oRPC that compresses response bodies to reduce bandwidth usage.
- 8 stars
- 0 votes
- 0 copies
- 2 views
- Added September 12, 2026
Works with
Security analysis
100/100npx -y skills add ali-master/skills --skill orpc-compression --agent claude-codeAre you the author of Orpc Compression?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-compression)---
name: oRPC Compression Plugin
description: A plugin for oRPC that compresses response bodies to reduce bandwidth usage.
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# Compression Plugin
The **Compression Plugin** compresses response bodies to reduce bandwidth usage and improve performance.
## Import
```ts
import { CompressionPlugin } from '@orpc/server/node'
import { CompressionPlugin } from '@orpc/server/fetch'
```
## Setup
```ts
const handler = new RPCHandler(router, {
plugins: [new CompressionPlugin()],
})
```
> The `handler` can be any supported oRPC handler — `RPCHandler`, `OpenAPIHandler`, or a custom handler.
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.