Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ai-sdk/openai

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/openai - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

LICENSE

34

package.json
{
"name": "@ai-sdk/openai",
"version": "0.0.0",
"version": "0.0.1",
"license": "Apache-2.0",

@@ -12,13 +12,2 @@ "sideEffects": false,

],
"scripts": {
"build": "tsup",
"clean": "rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint \"./**/*.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 --threads=false",
"test:node": "vitest --config vitest.node.config.js --run --threads=false"
},
"exports": {

@@ -34,10 +23,10 @@ "./package.json": "./package.json",

"@ai-sdk/provider": "0.0.0",
"@ai-sdk/provider-utils": "0.0.0"
"@ai-sdk/provider-utils": "0.0.1"
},
"devDependencies": {
"@types/node": "^18",
"@vercel/ai-tsconfig": "workspace:*",
"tsup": "^8",
"typescript": "5.1.3",
"zod": "3.22.4"
"zod": "3.22.4",
"@vercel/ai-tsconfig": "0.0.0"
},

@@ -68,3 +57,14 @@ "peerDependencies": {

"ai"
]
}
],
"scripts": {
"build": "tsup",
"clean": "rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint \"./**/*.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 --threads=false",
"test:node": "vitest --config vitest.node.config.js --run --threads=false"
}
}

@@ -22,3 +22,3 @@ # Vercel AI SDK - OpenAI Provider

const openai = new OpenAI({
baseUrl: '', // optional base URL for proxies etc.
baseURL: '', // optional base URL for proxies etc.
apiKey: '' // optional API key, default to env property OPENAI_API_KEY

@@ -25,0 +25,0 @@ organization: '' // optional organization

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc