New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.0 to 1.1.1

2

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

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

@@ -52,3 +52,3 @@ # openai-api

#### Example of a successful completion response:
```json
```js
{

@@ -74,3 +74,3 @@ id: 'some-long-id',

```json
```js
openai.encode('This is an encoding test. Number of tokens is not necessarily the same as word count.').then((result) => {

@@ -77,0 +77,0 @@ console.log("Number of tokens for string:" + result.length);

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