UNPKG

ai-functions

Version:

A powerful TypeScript library for building AI-powered applications with template literals and structured outputs

73 lines (72 loc) 2.01 kB
{ "name": "ai-functions", "version": "0.3.0", "description": "A powerful TypeScript library for building AI-powered applications with template literals and structured outputs", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "bin": { "ai-functions": "bin/cli.js" }, "files": [ "dist", "bin" ], "scripts": { "build": "tsc", "test": "vitest run", "test:watch": "vitest", "lint": "eslint src", "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\" \"*.{md,mdx}\"", "prepublishOnly": "pnpm run build", "semantic-release": "semantic-release" }, "keywords": [ "ai", "openai", "template-literals", "typescript", "structured-output", "cli" ], "author": "AI Primitives", "license": "MIT", "homepage": "https://github.com/ai-primitives/ai-functions#readme", "repository": { "type": "git", "url": "git+https://github.com/ai-primitives/ai-functions.git" }, "bugs": { "url": "https://github.com/ai-primitives/ai-functions/issues" }, "devDependencies": { "@ai-sdk/provider": "^1.0.2", "@ai-sdk/provider-utils": "^2.0.4", "@ai-sdk/ui-utils": "^1.0.5", "@eslint/js": "^9.17.0", "@opentelemetry/api": "^1.9.0", "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.1", "@types/node": "^22.10.2", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "dotenv": "^16.4.7", "eslint": "^9.17.0", "prettier": "^3.4.2", "semantic-release": "^24.2.0", "typescript": "^5.7.2", "undici": "^7.2.0", "vitest": "^2.1.8", "web-streams-polyfill": "^4.0.0" }, "dependencies": { "@ai-sdk/openai": "^1.0.10", "@ai-sdk/openai-compatible": "^0.0.9", "ai": "^4.0.20", "p-queue": "^8.0.1", "zod": "^3.24.1" } }