anthropics/anthropic-sdk-typescript
Access to Anthropic's safety-first language model APIs in TypeScript
解決的問題
提供開發者將 Claude AI 功能整合至伺服器端 TypeScript 或 JavaScript 應用程式的一種標準化方式,無需手動建構 API 請求。
工作原理
SDK 作為 Claude API 的封裝,讓開發者可使用 API 金鑰初始化客戶端,並透過型別化方法(例如 messages.create)傳送提示並接收 Claude 模型的回應。
適用對象
在各種執行環境(包括 Node.js、Deno、Bun、Cloudflare Workers 和 Vercel Edge Runtime)中使用 TypeScript 或 JavaScript 建構應用程式的軟體工程師。
主要特色
- 支援多種現代 JS 執行環境(Node.js、Deno、Bun)。
- 與 Cloudflare Workers 和 Vercel Edge 等邊緣運算環境相容。
- 內建支援 TypeScript 5.0+,提供更佳的型別安全性。
- 透過
dangerouslyAllowBrowser 標記可選擇性支援瀏覽器。
相關
- 專案
- 專案
- 專案
anthropics/anthropic-sdk-goA Go SDK that provides typed, idiomatic access to Anthropic’s Claude LLM API, letting Go developers send prompts and receive responses with simple client and helper functions.
- 專案
Piebald-AI/claude-code-lsps一個 LSP 伺服器定義的市場,讓 Claude Code(Anthropic 的 AI 程式輔助工具)為數十種語言提供 IDE 類功能——跳轉到定義、懸停、尋找參考等。安裝 Claude Code ≥ 2.1.50,執行 `npx tweakcc --apply` 打補丁,透過 `/plugin marketplace add Piebald‑AI/claude‑code‑lsps` 新增市場,再依指示安裝底層語言伺服器二進位檔(rust-analyzer、pyright、clangd 等)。倉儲包含驗證指令碼,以保持市場 JSON 與 `.lsp.json` 設定同步。
- 專案
openai/openai-nodeOpenAI REST API 的官方 TypeScript 與 JavaScript 套件,提供對文字、視覺與即時 AI 模型的類型安全存取。