@anthropic-ai/sdk 0.18.0
The official TypeScript library for the Anthropic API
@anthropic-ai/sdk@0.18.0 was published on 2024-03-13. Its manifest declares 9 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @anthropic-ai/sdk versions · Permanent reference to 0.18.0 · Latest release
Package specifications
| Version | 0.18.0 |
|---|---|
| License declaration | MIT |
| Published | 2024-03-13T21:00:26.477Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 662.03 KiB |
| Published file count | 212 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | ./index.js |
| Side effects declaration | ["./_shims/index.js","./_shims/index.mjs","./shims/node.js","./shims/node.mjs","./shims/web.js","./shims/web.mjs"] |
| Direct advisories | 0 |
| Resolved graph dependencies | 46 |
| Repository stars | 2149 |
| Repository forks | 428 |
Install @anthropic-ai/sdk 0.18.0
npm install @anthropic-ai/sdk@0.18.0 pnpm add @anthropic-ai/sdk@0.18.0 yarn add @anthropic-ai/sdk@0.18.0
Runtime dependencies
- node-fetch ^2.6.7
- @types/node ^18.11.18
- digest-fetch ^1.3.0
- formdata-node ^4.3.2
- agentkeepalive ^4.2.1
- abort-controller ^3.0.0
- @types/node-fetch ^2.6.4
- form-data-encoder 1.7.2
- web-streams-polyfill ^3.2.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/node@18.19.130 — direct
- @types/node-fetch@2.6.13 — direct
- abort-controller@3.0.0 — direct
- agentkeepalive@4.6.0 — direct
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- asynckit@0.4.0 — indirect
- base-64@0.1.0 — indirect
- call-bind-apply-helpers@1.0.2 — indirect
- charenc@0.0.2 — indirect
- combined-stream@1.0.8 — indirect
- crypt@0.0.2 — indirect
- delayed-stream@1.0.0 — indirect
- digest-fetch@1.3.0 — direct
- dunder-proto@1.0.1 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- es-set-tostringtag@2.1.0 — indirect
- event-target-shim@5.0.1 — indirect
- form-data@4.0.6 — indirect
- form-data-encoder@1.7.2 — direct
- formdata-node@4.4.1 — direct
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-symbols@1.1.0 — indirect
- has-tostringtag@1.0.2 — indirect
- hasown@2.0.4 — indirect
- humanize-ms@1.2.1 — indirect
- is-buffer@1.1.6 — indirect
- math-intrinsics@1.1.0 — indirect
- md5@2.3.0 — indirect
- mime-db@1.52.0 — indirect
- mime-types@2.1.35 — indirect
- ms@2.1.3 — indirect
- node-domexception@1.0.0 — indirect
- node-fetch@2.7.0 — direct
- tr46@0.0.3 — indirect
- undici-types@5.26.5 — indirect
- web-streams-polyfill@3.3.3 — direct
- web-streams-polyfill@4.0.0-beta.3 — indirect
- webidl-conversions@3.0.1 — indirect
- whatwg-url@5.0.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/%40anthropic-ai%2Fsdk/0.18.0 — retrieved 2026-10-29T10:38:39.686Z
- https://api.deps.dev/v3/projects/github.com%2Fanthropics%2Fanthropic-sdk-typescript — retrieved 2026-10-29T09:40:05.403Z
- https://api.deps.dev/v3/systems/npm/packages/%40anthropic-ai%2Fsdk/versions/0.18.0 — retrieved 2026-10-29T10:38:40.209Z
- https://api.deps.dev/v3/systems/npm/packages/%40anthropic-ai%2Fsdk/versions/0.18.0:dependencies — retrieved 2026-10-29T10:38:40.308Z