@ducky.wtf/shared
v1.0.2
Published
Shared types and utilities for ducky
Readme
@ducky.wtf/shared
Shared TypeScript types and utilities for the ducky tunneling system.
Installation
npm install @ducky.wtf/sharedUsage
import {
TunnelConfig,
TunnelMessage,
HttpRequest,
HttpResponse,
Config
} from '@ducky.wtf/shared';Types
This package provides TypeScript interfaces for:
- TunnelConfig - Configuration for tunnel connections
- TunnelRegistration - Tunnel registration payload
- TunnelAssignment - Assigned tunnel information
- HttpRequest - HTTP request format for tunneling
- HttpResponse - HTTP response format for tunneling
- TunnelMessage - WebSocket message wrapper
- Config - CLI configuration structure
Part of ducky
This is a shared package used by the ducky tunneling system components:
@ducky.wtf/cli- Command-line interface@ducky.wtf/server- Tunnel server@ducky.wtf/web-backend- Web API backend
Learn more at ducky.wtf
License
MIT