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

openai-api

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai-api - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

2

package.json
{
"name": "openai-api",
"version": "1.0.16",
"version": "1.0.17",
"description": "A tiny client module for the openAI API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,2 +20,6 @@ # openai-api

```js
const OpenAI = require('openai-api');
const OPEN_AI_API_KEY = ####################
const openai = new OpenAI(OPEN_AI_API_KEY);
(async () => {

@@ -22,0 +26,0 @@ const gptResponse = await openai.complete({

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