UNPKG

@302ai/ai-sdk

Version:

The **[302AI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/)** for the [AI SDK](https://sdk.vercel.ai/docs) contains image model support for the [302AI](https://302.ai) platform.

68 lines 1.63 kB
{ "name": "@302ai/ai-sdk", "version": "0.2.15", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**/*" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "dependencies": { "@ai-sdk/openai-compatible": "^2.0.0", "@ai-sdk/provider": "3.0.0", "@ai-sdk/provider-utils": "4.0.0", "ai": "6.0.1", "sharp": "^0.34.5" }, "devDependencies": { "@types/node": "^18", "tsup": "^8.5.1", "typescript": "5.9.3", "vite": "^7.2.4", "vitest": "^4.0.14", "zod": "^4.1.13", "@302ai/ai-tsconfig": "0.0.0" }, "peerDependencies": { "zod": "^4.1.13" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "homepage": "https://github.com/302ai/ai-sdk", "repository": { "type": "git", "url": "git+https://github.com/302ai/ai-sdk.git" }, "bugs": { "url": "https://github.com/302ai/ai-sdk/issues" }, "keywords": [ "ai", "302ai" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "clean": "rm -rf dist", "lint": "eslint \"./src/**/*.ts*\" \"./tsup.config.ts\"", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run" } }