UNPKG

aiwrapper

Version:

A Universal AI Wrapper for JavaScript & TypeScript

70 lines (69 loc) 1.78 kB
{ "type": "module", "name": "aiwrapper", "description": "A Universal AI Wrapper for JavaScript & TypeScript", "version": "3.0.0-beta.4", "author": "Dmitry Kury (https://dkury.com)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/mitkury/aiwrapper.git" }, "bugs": { "url": "https://github.com/mitkury/aiwrapper/issues" }, "homepage": "https://github.com/mitkury/aiwrapper#readme", "keywords": [ "AI", "AI Wrappers", "OpenAI", "LLM", "Generative AI", "GPT", "GPT-4", "Anthropic", "Groq", "Mistral", "Llama", "Ollama", "DeepSeek" ], "files": [ "dist/", "LICENSE" ], "main": "./dist/index.js", "allowJs": true, "scripts": { "preinstall": "npx airul gen", "prebuild": "rm -rf dist", "build": "node build.js", "serve": "npx serve .", "pretest": "npm run build", "test": "vitest run", "test:lang": "npm run build && vitest run tests/lang/*.test.ts", "test:agents": "npm run build && vitest run tests/agents/*.test.ts", "test:img-in": "npm run build && vitest run tests/img-in/*.test.ts", "test:img-out": "npm run build && vitest run tests/img-out/*.test.ts", "test:reasoning": "npm run build && vitest run tests/reasoning/*.test.ts" }, "dependencies": { "aimodels": "^0.5.1", "ajv": "^8.17.1", "jsonic": "^2.16.0", "zod": "^3.24.4", "zod-to-json-schema": "^3.24.6" }, "devDependencies": { "@playwright/test": "^1.42.1", "@types/node": "^20.11.16", "airul": "^0.1.39", "dotenv": "^16.4.1", "dts-bundle-generator": "^9.5.1", "esbuild": "^0.25.2", "glob": "^11.0.1", "ts-node": "^10.9.2", "typescript": "^5.8.2", "vitest": "^1.2.1" } }