{"_id":"@ai-toolkit/anthropic","name":"@ai-toolkit/anthropic","dist-tags":{"latest":"1.1.15"},"versions":{"1.1.15":{"name":"@ai-toolkit/anthropic","version":"1.1.15","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./internal":{"types":"./internal/dist/index.d.ts","import":"./internal/dist/index.mjs","module":"./internal/dist/index.mjs","require":"./internal/dist/index.js"}},"dependencies":{"@ai-toolkit/provider":"1.0.10","@ai-toolkit/provider-utils":"2.1.11"},"devDependencies":{"@types/node":"^18","tsup":"^8","typescript":"5.6.3","zod":"3.23.8","@khulnasoft/ai-tsconfig":"0.0.0"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://sdk.khulnasoft.com/docs","repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"keywords":["ai-toolkit"],"scripts":{"build":"tsup","build:watch":"tsup --watch","clean":"rm -rf dist && rm -rf internal/dist","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run"},"_id":"@ai-toolkit/anthropic@1.1.15","description":"The **[Anthropic provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/anthropic)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/refe","_integrity":"sha512-oAHWZt9WuTG1TUpFOCIWgwAyG/wDq/vSKOfllHJxknn0NupHM/gzL7yofr1q0VOFN9YnMnZy+7kWSkI6rRu5pg==","_resolved":"/tmp/0b9fd370cf30b4943710538ad35a08ac/ai-toolkit-anthropic-1.1.15.tgz","_from":"file:ai-toolkit-anthropic-1.1.15.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-oAHWZt9WuTG1TUpFOCIWgwAyG/wDq/vSKOfllHJxknn0NupHM/gzL7yofr1q0VOFN9YnMnZy+7kWSkI6rRu5pg==","shasum":"2103dd8fc15dfc16124cf8ab0e5556f52ae00843","tarball":"https://registry.npmjs.org/@ai-toolkit/anthropic/-/anthropic-1.1.15.tgz","fileCount":15,"unpackedSize":578929,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE/79CTR96nIehp4ZnvV2FndckfblS0Z5FmQsl0gP2fHAiEAvmuCDCd2aiIpwk3u1Woj6kx+eQisgSIxx0ReURuRmK8="}]},"_npmUser":{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"},"directories":{},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/anthropic_1.1.15_1741546702656_0.3411064967998172"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:58:22.535Z","1.1.15":"2025-03-09T18:58:22.847Z","modified":"2025-03-09T18:58:23.134Z"},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"description":"The **[Anthropic provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/anthropic)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/refe","homepage":"https://sdk.khulnasoft.com/docs","keywords":["ai-toolkit"],"repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"license":"Apache-2.0","readme":"# AI TOOLKIT - Anthropic Provider\n\nThe **[Anthropic provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/anthropic)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/reference/messages_post).\n\n## Setup\n\nThe Anthropic provider is available in the `@ai-toolkit/anthropic` module. You can install it with\n\n```\nnpm i @ai-toolkit/anthropic\n```\n\n## Provider Instance\n\nYou can import the default provider instance `anthropic` from `@ai-toolkit/anthropic`:\n\n```ts\nimport { anthropic } from '@ai-toolkit/anthropic';\n```\n\n## Example\n\n```ts\nimport { anthropic } from '@ai-toolkit/anthropic';\nimport { generateText } from 'ai-toolkit';\n\nconst { text } = await generateText({\n  model: anthropic('claude-3-haiku-20240307'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\n## Documentation\n\nPlease check out the **[Anthropic provider documentation](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/anthropic)** for more information.\n","readmeFilename":"README.md","_rev":"1-8bc116c918863388ce9f8f0cfe587f18"}