Claude Code SDK Ts
Description
[](https://www.npmjs.com/package/@instantlyeasy/claude-code-sdk-ts) [](https://www.npmjs.com/package/@instantlyeasy/claude-code-sdk-ts) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/)
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Code SDK for TypeScript
[](https://www.npmjs.com/package/@instantlyeasy/claude-code-sdk-ts) [](https://www.npmjs.com/package/@instantlyeasy/claude-code-sdk-ts) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/) [](https://nodejs.org/)
Unofficial TypeScript SDK for [Claude Code](https://github.com/anthropics/claude-code) - the powerful CLI tool for interacting with Claude.
**✨ What's New in v0.3.3:**
- 🎬 Interactive streaming session with working visual typewriter effects
- 🛡️ Advanced error handling with retry strategies and typed errors
- 📊 Token streaming analysis with honest documentation about current behavior
- 🔧 Production-ready examples that actually work as advertised
**Note**: For the classic async generator API, see [Classic API Documentation](docs/CLASSIC_API.md).
Installation
npm install @instantlyeasy/claude-code-sdk-ts
# or
yarn add @instantlyeasy/claude-code-sdk-ts
# or
pnpm add @instantlyeasy/claude-code-sdk-ts
**Latest Version:** `v0.3.3` with enhanced features and working visual streaming!
**Prerequisites:**
- Node.js 18 or later
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code)
Quick Start
import { claude } from '@instantlyeasy/claude-code-sdk-ts';
// Simple query
const response = await claude()
.query('Say "Hello World!"')
.asText();
console.log(response); // "Hello World!"
Authentication
This SDK delegates all authentication to the Claude CLI:
# One-time setup - login with your Claude account
claude login
The SDK does not handle authentication directly. If you see authentication errors, authenticate using the Claude CLI first.
Core Features
🎯 Fluent API
Chain methods for clean, readable code:
const result = await claude()
.withModel('sonnet') // Choose model
.allowTools('Read', 'Write') // Configure permissions
...
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development