Skip to main content
在 Manus 中运行任何 Skill
一键导入

typed-fetch

星标20
分支0
更新时间2026年7月22日 15:27

Write HTTP client code with @pbpeterson/typed-fetch — a zero-dependency, type-safe fetch wrapper that returns errors as values instead of throwing. Use when a project depends on @pbpeterson/typed-fetch, when calling typedFetch, or when handling its errors (NotFoundError, NetworkError, UnknownHttpError, AbortedError, TimeoutError, isHttpError, isKnownHttpError, isAbortError, isTimeoutError). Also use when the user asks for fetch with Go-style error handling, no-throw HTTP requests, or typed HTTP error classes in TypeScript.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly