Back to directory

Claude SDK for TypeScript

The official TypeScript SDK for the Claude API, providing typed access to Anthropic's language models for server-side JavaScript and TypeScript applications across Node.js, Deno, Bun, Cloudflare Workers and Vercel Edge.

Claude SDK for TypeScript

The Claude SDK for TypeScript gives server-side TypeScript or JavaScript applications typed access to the Claude API, installed as a single npm package. A minimal client call takes an API key, a message list and a model name and returns the model's response content.

It supports TypeScript 5.0 and newer and runs on Node.js 20 LTS or later, Deno 1.28 or higher, Bun 1.0 or later, Cloudflare Workers, Vercel Edge Runtime, Nitro 2.6 or greater, and Jest 28 or greater under the Node test environment. Browser use is disabled by default, since it would otherwise expose a secret API key to end users, but can be explicitly enabled for cases where that trade-off is accepted; React Native is not supported.

It is maintained by Anthropic and released under the MIT license.

More in Libraries

See all 292
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • TradeCanvas

    bonguynvan.github.io

    A zero-dependency canvas charting engine for building TradingView-style trading charts in JavaScript, with 66 technical indicators, 24 drawing tools, 17 chart types, and real-time streaming.

  • 3d retro graphics

    3d-retro.com

    A free, CC0-licensed library of copy-paste retro 3D and demoscene graphics effects, such as plasma, raytracing, and voxel terrain, runnable as WebGL 1 or plain 2D canvas.