UNPKG

@langchain/anthropic

Version:
100 lines 2.82 kB
{ "name": "@langchain/anthropic", "version": "1.3.3", "description": "Anthropic integrations for LangChain.js", "author": "LangChain", "license": "MIT", "type": "module", "engines": { "node": ">=20" }, "repository": { "type": "git", "url": "git@github.com:langchain-ai/langchainjs.git" }, "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-anthropic/", "dependencies": { "@anthropic-ai/sdk": "^0.71.0", "zod": "^3.25.76 || ^4" }, "peerDependencies": { "@langchain/core": "1.1.8" }, "devDependencies": { "@anthropic-ai/vertex-sdk": "^0.11.5", "@cfworker/json-schema": "^4.1.1", "@tsconfig/recommended": "^1.0.10", "@vitest/coverage-v8": "^3.2.4", "dotenv": "^17.2.1", "dpdm": "^3.14.0", "eslint": "^9.34.0", "prettier": "^2.8.3", "rimraf": "^5.0.1", "typescript": "~5.8.3", "uuid": "^13.0.0", "vitest": "^3.2.4", "@langchain/core": "1.1.8", "@langchain/eslint": "0.1.1", "@langchain/standard-tests": "0.0.11", "@langchain/tsconfig": "0.0.1" }, "publishConfig": { "access": "public" }, "keywords": [ "llm", "ai", "gpt3", "chain", "prompt", "prompt engineering", "chatgpt", "machine learning", "ml", "anthropic", "embeddings", "vectorstores" ], "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.cts", "exports": { ".": { "input": "./src/index.ts", "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./package.json": "./package.json" }, "files": [ "dist/", "CHANGELOG.md", "README.md", "LICENSE" ], "scripts": { "build": "turbo build:compile --filter @langchain/anthropic --output-logs new-only", "build:compile": "tsdown", "lint:eslint": "eslint --cache src/", "lint:dpdm": "dpdm --skip-dynamic-imports circular --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", "lint": "pnpm lint:eslint && pnpm lint:dpdm", "lint:fix": "pnpm lint:eslint --fix && pnpm lint:dpdm", "clean": "rm -rf .turbo dist/", "test": "vitest run", "test:watch": "vitest", "test:int": "vitest run --mode int", "test:standard:unit": "vitest run --mode standard-unit", "test:standard:int": "vitest run --mode standard-int", "test:standard": "pnpm test:standard:unit && pnpm test:standard:int", "format": "prettier --write \"src\"", "format:check": "prettier --check \"src\"", "typegen": "pnpm run typegen:profiles", "typegen:profiles": "pnpm --filter @langchain/model-profiles make --config profiles.toml" } }