{"_id":"@axemere/gateway-anthropic","_rev":"6-6654b77db4a2eafac4ad62b74e6aca0d","name":"@axemere/gateway-anthropic","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.6":{"name":"@axemere/gateway-anthropic","version":"0.1.6","license":"MIT","_id":"@axemere/gateway-anthropic@0.1.6","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"f5d3f5e7aaa1aad1fb6f83e9d9eb078056c47403","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.1.6.tgz","fileCount":7,"integrity":"sha512-cinxlShXrAI9SSMsMET7bRHoad71iVPjk3hCf/ho63A06MQEU6O0XRb26E72u4rB40rMDReudMgQcUs3eOolAw==","signatures":[{"sig":"MEUCIQD3+6LN1WF+0D2FJYB6oGL0J0jv0D3aQcWcpS1RS478SAIgRtlACB0db56glryR8/ORhoIbiE3cAvLIwqFKncwoM4A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7921},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-anthropic-0.1.6.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/383a1d9abbb89847d96ef24e03f75b34/axemere-gateway-anthropic-0.1.6.tgz","_integrity":"sha512-cinxlShXrAI9SSMsMET7bRHoad71iVPjk3hCf/ho63A06MQEU6O0XRb26E72u4rB40rMDReudMgQcUs3eOolAw==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-anthropic"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.6","@anthropic-ai/sdk":"^0.36.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-anthropic_0.1.6_1782421384781_0.2565558117397444","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@axemere/gateway-anthropic","version":"0.1.7","license":"MIT","_id":"@axemere/gateway-anthropic@0.1.7","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"762d7cdf4da6b51701aba59f45f172982cfddd33","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.1.7.tgz","fileCount":7,"integrity":"sha512-GQH5g2Ia08Adi4PWlK0w5TvoW/cJzHY4Li/R+3ycE3bzlkAtUJXXFR9s8R2fPYvZtgzMfmHX0MqGW6EGs9soJg==","signatures":[{"sig":"MEUCIQDy/L+92SzJeD/Ncx/zROCB41nNS6UGNr78c/Btfmt/dQIgXzVXw+HyEqE+w4UbX4NDG0aq4XcX+KmfU7JUMHb1Oa8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7921},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-anthropic-0.1.7.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/16da8301e242f37d721ac0d6c20f2e6f/axemere-gateway-anthropic-0.1.7.tgz","_integrity":"sha512-GQH5g2Ia08Adi4PWlK0w5TvoW/cJzHY4Li/R+3ycE3bzlkAtUJXXFR9s8R2fPYvZtgzMfmHX0MqGW6EGs9soJg==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-anthropic"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.7","@anthropic-ai/sdk":"^0.36.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-anthropic_0.1.7_1782427451267_0.5735361821885416","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@axemere/gateway-anthropic","version":"0.1.8","license":"MIT","_id":"@axemere/gateway-anthropic@0.1.8","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"db1167c8cd2958e7d47bd9024f74a77cfc714f09","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.1.8.tgz","fileCount":7,"integrity":"sha512-1pYlj6zknypTsg+bFHTzIMPccl5S3zP9aICJwoDmyWIdYKSSPYZ3DtnY0cse5FR5eW4FA/Iy3AWnaoNe+SRZBA==","signatures":[{"sig":"MEUCIEVUVzD5bc27NkBfPN6MfiLpsT7fIDTntZfIV3Rjx6bBAiEAiHkCNH9Mi1JGYKwMXfRFzTpXuAOudwPfgZnuaPkh56Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7921},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-anthropic-0.1.8.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/ff75f15b9f979614e509739c0179ff76/axemere-gateway-anthropic-0.1.8.tgz","_integrity":"sha512-1pYlj6zknypTsg+bFHTzIMPccl5S3zP9aICJwoDmyWIdYKSSPYZ3DtnY0cse5FR5eW4FA/Iy3AWnaoNe+SRZBA==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-anthropic"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.8","@anthropic-ai/sdk":"^0.36.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-anthropic_0.1.8_1782481103811_0.18790320920288361","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@axemere/gateway-anthropic","version":"0.1.9","license":"MIT","_id":"@axemere/gateway-anthropic@0.1.9","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"40940e896092ce5267e131255ed96dc082c95c13","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.1.9.tgz","fileCount":7,"integrity":"sha512-5UbtCkCYNWDFQ0L8kkaeESqDytZCuUHNc/4D9nXhrgSnr++344a+Bg0dXoN9khk8LclZ20zNpoleRe5E8iWADA==","signatures":[{"sig":"MEYCIQDlGvzSxJqvFUwO2dsZXKSWO6PJbZCIObhxg8cF+JxQkwIhAN3HI43I1Zsc+3mP/grzAMmmydIlf0jBhufeGlylX6t7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7921},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-anthropic-0.1.9.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/c06362c9bfc05377b0b613e2f4c9fd66/axemere-gateway-anthropic-0.1.9.tgz","_integrity":"sha512-5UbtCkCYNWDFQ0L8kkaeESqDytZCuUHNc/4D9nXhrgSnr++344a+Bg0dXoN9khk8LclZ20zNpoleRe5E8iWADA==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-anthropic"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.9","@anthropic-ai/sdk":"^0.36.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-anthropic_0.1.9_1782772298516_0.15027431115294965","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@axemere/gateway-anthropic","version":"0.1.10","license":"MIT","_id":"@axemere/gateway-anthropic@0.1.10","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"dist":{"shasum":"5791f283c981137e1abeaec2bb1b42fd9781102b","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.1.10.tgz","fileCount":7,"integrity":"sha512-xqFJM46wGZdezCN9FXF+3UM11Tw5CE5yrbAG1wO6qpfmWRsQ0jtR8Aup5cxI2i7OISqNqdoYLXutIeLWX8gX5A==","signatures":[{"sig":"MEUCIEd38vxlrpeOdwyAtzzr3eMwYUI+aDixDmh5AGd/YihXAiEA4GaCUL7SHSOIU4dDIMXRRZlzDDZyHf09y1pkqp//Ekk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7939},"jest":{"preset":"ts-jest","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]},"testEnvironment":"node"},"main":"dist/index.js","_from":"file:axemere-gateway-anthropic-0.1.10.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"test":"jest","build":"tsc"},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"_resolved":"/tmp/5b84a30199fa08e9bd06cd43a7a98bf8/axemere-gateway-anthropic-0.1.10.tgz","_integrity":"sha512-xqFJM46wGZdezCN9FXF+3UM11Tw5CE5yrbAG1wO6qpfmWRsQ0jtR8Aup5cxI2i7OISqNqdoYLXutIeLWX8gX5A==","repository":{"url":"git+https://github.com/Axemere-LLC/axemere-node.git","type":"git","directory":"packages/gateway-anthropic"},"_npmVersion":"10.8.2","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@axemere/gateway":"0.1.10","@anthropic-ai/sdk":"^0.36.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.4.0","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/gateway-anthropic_0.1.10_1783088685010_0.06825833795419056","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@axemere/gateway-anthropic","version":"0.2.0","description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/Axemere-LLC/axemere-node.git","directory":"packages/gateway-anthropic"},"publishConfig":{"access":"public"},"dependencies":{"@anthropic-ai/sdk":"^0.36.0","@axemere/gateway":"0.2.0"},"devDependencies":{"typescript":"^5.4.0","@types/node":"^20.0.0","@types/jest":"^29.0.0","jest":"^29.0.0","ts-jest":"^29.0.0"},"jest":{"preset":"ts-jest","testEnvironment":"node","transform":{"^.+\\.tsx?$":["ts-jest",{"useESM":false}]}},"scripts":{"build":"tsc","test":"jest"},"_id":"@axemere/gateway-anthropic@0.2.0","bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"homepage":"https://github.com/Axemere-LLC/axemere-node#readme","_integrity":"sha512-0wvtmydfwNsDRXhWvG3JfQ6+9IKfj4g5wFlzBIIOrTIEi1v4VHA2pdzmaK8yKwZ59VuKstTiKU+ieZxQedRyqQ==","_resolved":"/tmp/0922e25f6f57bbdfb1274622d03e4232/axemere-gateway-anthropic-0.2.0.tgz","_from":"file:axemere-gateway-anthropic-0.2.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0wvtmydfwNsDRXhWvG3JfQ6+9IKfj4g5wFlzBIIOrTIEi1v4VHA2pdzmaK8yKwZ59VuKstTiKU+ieZxQedRyqQ==","shasum":"c7ad180c8360441fa2aeeecafc9f6577969549ea","tarball":"https://registry.npmjs.org/@axemere/gateway-anthropic/-/gateway-anthropic-0.2.0.tgz","fileCount":7,"unpackedSize":7937,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCTcg8uiaOK4//4pY6WTwNU5PKIBn3XnDInwaoBQYTWZwIgK8aIi9nDBW4o/CHAdLwBSUSzeW50DHWnTkiihdT4rhE="}]},"_npmUser":{"name":"keith-npm","email":"keith@axemere.com"},"directories":{},"maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gateway-anthropic_0.2.0_1786552321899_0.9073864886297862"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-25T21:03:04.641Z","modified":"2026-08-12T16:32:02.279Z","0.1.6":"2026-06-25T21:03:04.928Z","0.1.7":"2026-06-25T22:44:11.420Z","0.1.8":"2026-06-26T13:38:23.954Z","0.1.9":"2026-06-29T22:31:38.698Z","0.1.10":"2026-07-03T14:24:45.132Z","0.2.0":"2026-08-12T16:32:02.092Z"},"bugs":{"url":"https://github.com/Axemere-LLC/axemere-node/issues"},"license":"MIT","homepage":"https://github.com/Axemere-LLC/axemere-node#readme","repository":{"type":"git","url":"git+https://github.com/Axemere-LLC/axemere-node.git","directory":"packages/gateway-anthropic"},"description":"Axemere AI Gateway SDK — Anthropic drop-in wrapper","maintainers":[{"name":"keith-npm","email":"keith@axemere.com"}],"readme":"# @axemere/gateway-anthropic\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)\n\nDrop-in Anthropic client factory for the [Axemere AI Gateway](https://axemere.ai).\n\nReturns a standard `Anthropic` instance pre-configured to route through the gateway. All existing Anthropic code works unchanged — the gateway adds cost controls, policy enforcement, and an append-only audit ledger to every call.\n\n## Install\n\n```bash\nnpm install @axemere/gateway-anthropic\n```\n\n## Usage\n\n```typescript\nimport { anthropicClient } from \"@axemere/gateway-anthropic\";\n\nconst client = anthropicClient(); // reads AXEMERE_GATEWAY_URL + AXEMERE_GATEWAY_TOKEN\n\nconst message = await client.messages.create({\n  model: \"claude-sonnet-4-6\",\n  max_tokens: 256,\n  messages: [{ role: \"user\", content: \"Hello\" }],\n});\nconsole.log(message.content[0].text);\n```\n\nStreaming works exactly as it does with the standard `@anthropic-ai/sdk` package.\n\n## Configuration\n\n| Env var | Description |\n|---------|-------------|\n| `AXEMERE_GATEWAY_URL` | Gateway base URL, e.g. `http://localhost:7080` |\n| `AXEMERE_GATEWAY_TOKEN` | Gateway token issued by the gateway |\n\n## Links\n\n- [Axemere AI Gateway](https://axemere.ai)\n- [Documentation](https://axemere.ai/docs/sdks/typescript)\n- [GitHub](https://github.com/Axemere-LLC/axemere-node)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}