Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

package.json

88 lines2.2 KB

1{
2 "name": "@tanstack/ai-openrouter",
3 "version": "0.23.1",
4 "description": "TanStack AI adapter for OpenRouter chat, provider tools, structured outputs, and access to hundreds of LLMs.",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "homepage": "https://tanstack.com/ai",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/TanStack/ai.git",
11 "directory": "packages/ai-openrouter"
12 },
13 "bugs": {
14 "url": "https://github.com/TanStack/ai/issues"
15 },
16 "funding": {
17 "type": "github",
18 "url": "https://github.com/sponsors/tannerlinsley"
19 },
20 "type": "module",
21 "module": "./dist/esm/index.js",
22 "types": "./dist/esm/index.d.ts",
23 "exports": {
24 ".": {
25 "types": "./dist/esm/index.d.ts",
26 "import": "./dist/esm/index.js"
27 },
28 "./byok": {
29 "types": "./dist/esm/byok.d.ts",
30 "import": "./dist/esm/byok.js"
31 },
32 "./model-meta": {
33 "types": "./dist/esm/model-meta.d.ts",
34 "import": "./dist/esm/model-meta.js"
35 },
36 "./tools": {
37 "types": "./dist/esm/tools/index.d.ts",
38 "import": "./dist/esm/tools/index.js"
39 },
40 "./pkce": {
41 "types": "./dist/esm/pkce.d.ts",
42 "import": "./dist/esm/pkce.js"
43 }
44 },
45 "files": [
46 "dist",
47 "src"
48 ],
49 "scripts": {
50 "build": "vite build",
51 "clean": "premove ./build ./dist",
52 "lint:fix": "oxlint src --type-aware --fix",
53 "test:build": "publint --strict",
54 "test:oxlint": "oxlint src --type-aware",
55 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
56 "test:lib": "vitest run",
57 "test:lib:dev": "pnpm test:lib --watch",
58 "test:types": "tsc"
59 },
60 "keywords": [
61 "ai",
62 "ai-sdk",
63 "typescript",
64 "llm",
65 "generative-ai",
66 "openrouter",
67 "tanstack",
68 "adapter",
69 "chat",
70 "streaming",
71 "tool-calling",
72 "structured-outputs",
73 "model-router"
74 ],
75 "dependencies": {
76 "@openrouter/sdk": "0.13.20",
77 "@tanstack/ai-utils": "workspace:^"
78 },
79 "devDependencies": {
80 "@tanstack/ai": "workspace:*",
81 "@vitest/coverage-v8": "4.1.10",
82 "vite": "^8.2.1",
83 "zod": "^4.2.0"
84 },
85 "peerDependencies": {
86 "@tanstack/ai": "workspace:^"
87 }