{"_id":"@byokey/anthropic","_rev":"3-28fda3d29a15f03d9da8065d259ea7d2","name":"@byokey/anthropic","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@byokey/anthropic","version":"0.1.0","keywords":["byok","ai","llm","anthropic","claude","typescript"],"license":"MIT","_id":"@byokey/anthropic@0.1.0","maintainers":[{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"}],"homepage":"https://github.com/themehraaryan/byokey","bugs":{"url":"https://github.com/themehraaryan/byokey/issues"},"dist":{"shasum":"e5c1e37688cb5c51cfab42878d8b6330e4043e65","tarball":"https://registry.npmjs.org/@byokey/anthropic/-/anthropic-0.1.0.tgz","fileCount":7,"integrity":"sha512-kGELhETo/norOifjQlp/fPbstxsced5JqTPgcsFuVsdjCSx/TAjXfiFsqKzM+PN+CryYRBaUOfED7lNxODfuMg==","signatures":[{"sig":"MEUCIQCQO4Y3kjJwvxQVMypv8bOYgsDIAzex0MowIUZ115nnLgIgbV3MQuRq4Rre4Ctk11VVFag24OXtHjVRG+NenJy+t/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38178},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a9d8d4d422264b04cd296a2e01fec361c2cc8b5f","scripts":{"build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"},"repository":{"url":"git+https://github.com/themehraaryan/byokey.git","type":"git","directory":"packages/anthropic"},"_npmVersion":"11.6.2","description":"Anthropic provider adapter for the BYOK Infrastructure Toolkit","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@byokey/types":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic_0.1.0_1773600806957_0.34087327570443593","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@byokey/anthropic","version":"0.1.1","keywords":["byok","ai","llm","anthropic","claude","typescript"],"license":"MIT","_id":"@byokey/anthropic@0.1.1","maintainers":[{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"}],"homepage":"https://github.com/themehraaryan/byokey","bugs":{"url":"https://github.com/themehraaryan/byokey/issues"},"dist":{"shasum":"e576c5e8acc3168f7a76e75809122606657b70f8","tarball":"https://registry.npmjs.org/@byokey/anthropic/-/anthropic-0.1.1.tgz","fileCount":7,"integrity":"sha512-1l3Kq29MRtwJoi0UptH5BV+rfax2A85IT+3e6DP/o1XqXCT3ASV3X8nyuXARwqTQGpd9khgP1VuvGONxMfSedg==","signatures":[{"sig":"MEYCIQDKSdZyuz5RPtm+UsmB3gZLF7ga4OF5Qd+p+wo0D/FvRQIhAIHIgIHTSO7qgBOGseWbfxKeKe9nSkIuL1r5cKLcrBjC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38173},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a9d8d4d422264b04cd296a2e01fec361c2cc8b5f","scripts":{"build":"tsup","clean":"rimraf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"},"repository":{"url":"git+https://github.com/themehraaryan/byokey.git","type":"git","directory":"packages/anthropic"},"_npmVersion":"11.6.2","description":"Anthropic provider adapter for the BYOK Infrastructure Toolkit","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@byokey/types":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/anthropic_0.1.1_1773601984050_0.6626823528074985","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@byokey/anthropic","version":"0.2.0","description":"Anthropic provider adapter for the BYOK Infrastructure Toolkit","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"dependencies":{"@byokey/types":"^0.2.0"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.4.0"},"license":"MIT","publishConfig":{"access":"public"},"keywords":["byok","ai","llm","anthropic","claude","typescript"],"homepage":"https://github.com/themehraaryan/byokey","repository":{"type":"git","url":"git+https://github.com/themehraaryan/byokey.git","directory":"packages/anthropic"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","clean":"rimraf dist"},"_id":"@byokey/anthropic@0.2.0","bugs":{"url":"https://github.com/themehraaryan/byokey/issues"},"_integrity":"sha512-0aaBS8Ga7HAs1TGWPEiqaRbxki+pGEAwSUzILXWrKDVDPI16ai/b5DtrkXY7Ma0KRCO7wFO19nnlmxjFAy6NCg==","_resolved":"C:\\Users\\ARYANM~1\\AppData\\Local\\Temp\\403e039deb146dd0d92433fd5cf01b38\\byokey-anthropic-0.2.0.tgz","_from":"file:byokey-anthropic-0.2.0.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-0aaBS8Ga7HAs1TGWPEiqaRbxki+pGEAwSUzILXWrKDVDPI16ai/b5DtrkXY7Ma0KRCO7wFO19nnlmxjFAy6NCg==","shasum":"f2c70bc02d8e799a21208c8ca8f1b0c6a42f2377","tarball":"https://registry.npmjs.org/@byokey/anthropic/-/anthropic-0.2.0.tgz","fileCount":9,"unpackedSize":40203,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA0JL7LvjPiGYvibwxKYhA1SSc8q2g6x0UUKBCMgAG29AiBxk24Tht+8PJM6BN3VVdA+SSsB2s1WEj/tFOmugqK4Ng=="}]},"_npmUser":{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"},"directories":{},"maintainers":[{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/anthropic_0.2.0_1774100925457_0.32743876907372926"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-15T18:53:26.836Z","modified":"2026-03-21T13:48:46.018Z","0.1.0":"2026-03-15T18:53:27.125Z","0.1.1":"2026-03-15T19:13:04.206Z","0.2.0":"2026-03-21T13:48:45.589Z"},"bugs":{"url":"https://github.com/themehraaryan/byokey/issues"},"license":"MIT","homepage":"https://github.com/themehraaryan/byokey","keywords":["byok","ai","llm","anthropic","claude","typescript"],"repository":{"type":"git","url":"git+https://github.com/themehraaryan/byokey.git","directory":"packages/anthropic"},"description":"Anthropic provider adapter for the BYOK Infrastructure Toolkit","maintainers":[{"name":"aryanmehra","email":"aryanmehra.mains@gmail.com"}],"readme":"# @byokey/anthropic\n\nAnthropic Claude provider adapter for the BYOK Infrastructure Toolkit.\n\nSupports Claude Opus 4.6, Sonnet 4.6, and Haiku 4.5.\n\n## Installation\n\n```bash\nnpm install @byokey/core @byokey/anthropic\n```\n\n## Usage\n\n```typescript\nimport { createClient } from '@byokey/core';\nimport { anthropic } from '@byokey/anthropic';\n\nconst client = createClient({ adapters: [anthropic()] });\n\nconst response = await client.execute({\n  provider: 'anthropic',\n  model: 'claude-sonnet-4-6',\n  credential: 'sk-ant-...', // Your Anthropic API key\n  messages: [{ role: 'user', content: 'Hello!' }]\n});\n```\n\n## Configuration\n\n```typescript\nanthropic({\n  baseUrl: 'https://api.anthropic.com/v1/messages', // Custom endpoint\n  apiVersion: '2024-10-22', // API version\n  timeoutMs: 30000, // Request timeout\n});\n```\n\n## License\n\n[MIT](../../LICENSE)\n","readmeFilename":"README.md"}