{"repo":"instantlyeasy/claude-code-sdk-ts","free":true,"listed":false,"github":"https://github.com/instantlyeasy/claude-code-sdk-ts","clone":"git clone https://github.com/instantlyeasy/claude-code-sdk-ts.git","description":"Fluent, chainable TypeScript SDK: configure models, enable tools, stream events, then fetch text, JSON, run details or token stats in one call via .asText() or .allowTools('Read', 'Write'). Multi-level logging plus live onMessage/onToolUse callbacks give deep, CLI-compatible observability.","language":"TypeScript","stars":207,"topics":["claude","claude-code","claude-code-sdk","claude-code-typescript","claude-max"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Claude Code SDK for TypeScript Unofficial TypeScript SDK for Claude Code - the powerful CLI tool for interacting with Claude. ✨ What's New in v0.4.0: - 🎬 Interactive streaming session with working visual typewriter effects - 🛡️ Typed error handling you catch with instanceof — no error categories, no wrappers - ⏱️ Timeouts and edit-acceptance that actually take effect — withTimeout() throws a real TimeoutError , acceptEdits() maps to the CLI's --permission-mode - 🔧 Production-ready examples that actually work as advertised Note : For the classic async generator API, see Classic API Documentation. Installation Latest Version: v0.4.0 with enhanced features and working visual streaming! Prerequisites: - Node.js 20 or later - Claude Code CLI installed ( npm install -g @anthropic-ai/claude-code ) Quick Start Authentication This SDK delegates all authentication to the Claude CLI: The SDK does not handle authentication directly and has no apiKey option. The CLI owns auth — either via claude login or an ANTHROPIC API KEY that the CLI reads from the environment. If you see authentication errors, authenticate using the Claude CLI first. Core Features 🎯 Fluent API Chain methods for clean, readable code: acceptEdits() and skipPermissions() (full bypass) both map to the CLI's --permission-mode and take effect on the run. 📊 Response Parsing Extract exactly what you need: 🔧 Tool Management Fine-grained control over Claude's capabilities: 💬 Session Management Maintain conversation cont","default_branch":null,"files":null,"tree":[],"storefront":"/r/instantlyeasy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/instantlyeasy/claude-code-sdk-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}