Skip to main content

@anthropic-ai/sdk

v1.1.0SAFE Risk

The official TypeScript library for the Anthropic API

A+100/100
Install Command
npm install @anthropic-ai/sdk
orpnpm add @anthropic-ai/sdk
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Clean Execution

Zero preinstall or postinstall arbitrary execution hooks.

License Type
Apache-2.0

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
14.22 MB
Dependencies
3
Maintainers
15
Last Published
Oct 21, 2026
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is @anthropic-ai/sdk safe to use in production?
@anthropic-ai/sdk received a Security Grade of A+ (100/100) with a risk evaluation of SAFE. It contains zero malicious postinstall scripts.
What license does @anthropic-ai/sdk use?
@anthropic-ai/sdk is licensed under the Apache-2.0 license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install @anthropic-ai/sdk?
Install it via NPM using: npm install @anthropic-ai/sdk, or via PNPM: pnpm add @anthropic-ai/sdk, or Yarn: yarn add @anthropic-ai/sdk.