ts3
Netsnek e.U. 的 TS3 命名空间TypeScript 服务器端框架。 HTTP 服务器脚手架、中间件组合、请求验证和结构化日志记录。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~kleberbaum-ts3cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~kleberbaum-ts3/file -o kleberbaum-ts3.md## 概述(中文) Netsnek e.U. 的 TS3 命名空间TypeScript 服务器端框架。 HTTP 服务器脚手架、中间件组合、请求验证和结构化日志记录。 ## 原文 # Why TS3? TS3 is the Netsnek e.U. TypeScript server-side framework. Build HTTP servers with minimal boilerplate: scaffolding, middleware composition, request validation, and structured logging are built in. ## Architecture - **HTTP server** — Express-compatible request/response - **Middleware** — Composable request pipelines - **Validation** — Zod or similar for request bodies - **Logging** — Structured JSON logs ## Server Commands | Script | Option | Action | |--------|--------|--------| | server-init.sh | `--routes` | Generate route handlers | | server-init.sh | `--health` | Add health check endpoint | | server-init.sh | `--describe` | Describe server structure | ## Example Session ```bash # Bootstrap a server with routes ./scripts/server-init.sh --routes # Add health endpoint ./scripts/server-init.sh --health # Inspect layout ./scripts/server-init.sh --describe ```