UNPKG

@bernierllc/anthropic-client

Version:

Type-safe Anthropic Claude API client with automatic rate limiting, retry logic, streaming support, and cost tracking

58 lines 1.37 kB
{ "name": "@bernierllc/anthropic-client", "version": "1.0.2", "description": "Type-safe Anthropic Claude API client with automatic rate limiting, retry logic, streaming support, and cost tracking", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "anthropic", "claude", "ai", "api", "rate-limiting", "retry", "streaming", "cost-tracking", "bernierllc" ], "author": "Bernier LLC", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/bernier-llc/tools" }, "dependencies": { "@anthropic-ai/sdk": "^0.30.1", "@bernierllc/logger": "^1.0.1", "@bernierllc/retry-policy": "^0.1.6" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "rimraf": "^5.0.0", "ts-jest": "^29.4.0", "typescript": "^5.0.0" }, "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:run": "jest --passWithNoTests", "lint": "eslint src/**/*.ts", "clean": "rimraf dist" } }