UNPKG

@ai-sdk/provider-utils

Version:
81 lines 2.03 kB
{ "name": "@ai-sdk/provider-utils", "version": "5.0.7", "type": "module", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", "source": "./src/index.ts", "files": [ "dist/**/*", "src", "!src/**/*.test.ts", "!src/**/*.test-d.ts", "!src/**/__snapshots__", "!src/**/__fixtures__", "CHANGELOG.md", "README.md", "test.d.ts" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./test": { "types": "./dist/test/index.d.ts", "import": "./dist/test/index.js", "default": "./dist/test/index.js" } }, "dependencies": { "@standard-schema/spec": "^1.1.0", "@workflow/serde": "4.1.0", "eventsource-parser": "^3.0.8", "@ai-sdk/provider": "4.0.3" }, "devDependencies": { "@types/node": "22.19.19", "msw": "2.7.0", "tsup": "^8.5.1", "typescript": "5.8.3", "zod": "3.25.76", "@vercel/ai-tsconfig": "0.0.0" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public", "provenance": true }, "homepage": "https://ai-sdk.dev/docs", "repository": { "type": "git", "url": "https://github.com/vercel/ai", "directory": "packages/provider-utils" }, "bugs": { "url": "https://github.com/vercel/ai/issues" }, "keywords": [ "ai" ], "scripts": { "build": "pnpm clean && tsup --tsconfig tsconfig.build.json", "build:watch": "pnpm clean && tsup --watch", "clean": "del-cli dist *.tsbuildinfo", "type-check": "tsc --build", "test": "pnpm test:node && pnpm test:edge", "test:update": "pnpm test:node -u", "test:watch": "vitest --config vitest.node.config.js", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run" } }