@wrkrdev/gateway
v0.2.0
Published
Standalone gateway primitives for auth, routing, preview tokens, CORS, and workspace proxying.
Maintainers
Readme
@wrkrdev/gateway
Standalone gateway primitives for auth, routing, preview tokens, CORS, and workspace proxying.
Install
bun add @wrkrdev/gatewayQuick start
import {
createDefaultGatewayConfig,
createDefaultRateLimitBuckets,
} from '@wrkrdev/gateway';
const config = createDefaultGatewayConfig();
const buckets = createDefaultRateLimitBuckets();
console.log(config, buckets);Public surface
- Library: gateway types/interfaces, HMAC auth helpers, deployment routing, proxy helpers, CORS helpers, scheduler-event helpers, server factory, and in-memory/Redis/Supabase adapters.
- CLI (
wrkr-gateway):start,health-check.
License
Apache-2.0.
