UNPKG

@ai-ml.api/aimlapi-vercel-ai

Version:

AI SDK provider for AI/ML API: 300+ models via OpenAI-compatible API.

81 lines (80 loc) 2.37 kB
{ "name": "@ai-ml.api/aimlapi-vercel-ai", "version": "1.0.2", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "description": "AI SDK provider for AI/ML API: 300+ models via OpenAI-compatible API.", "author": "Dmitry Tumanov", "files": [ "dist/**/*", "README.md", "LICENSE" ], "scripts": { "build": "tsup --config tsup.config.ts", "build:watch": "tsup --watch --config tsup.config.ts", "clean": "rm -rf dist", "lint": "eslint \"./**/*.ts*\"", "lint:fix": "eslint \"./**/*.ts*\" --fix", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "test:edge": "vitest --config vitest.edge.config.ts --run --passWithNoTests", "test:node": "vitest --config vitest.node.config.ts --run" }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "dependencies": { "@ai-sdk/openai-compatible": "^1.0.3", "@ai-sdk/provider": "^2.0.0", "@ai-sdk/provider-utils": "^3.0.1" }, "devDependencies": { "@edge-runtime/vm": "^5.0.0", "@types/node": "^24.2.1", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "ai": "^5.0.8", "eslint": "^9.33.0", "eslint-plugin-vitest": "^0.5.4", "globals": "^16.3.0", "tsup": "^8.5.0", "typescript": "^5.9.2", "vitest": "^3.2.4", "zod": "^4.0.17" }, "peerDependencies": { "zod": "^4.0.0" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "homepage": "https://github.com/aimlapi-vercel-ai", "repository": { "type": "git", "url": "git+https://github.com/aimlapi-vercel-ai.git" }, "bugs": { "url": "https://www.npmjs.com/package/@ai-ml.api/aimlapi-vercel-ai/issues" }, "keywords": [ "ai", "ai-sdk", "aimlapi", "openai-compatible", "vercel-ai" ], "packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903" }