New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-chatgpt

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-chatgpt - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

package.json
{
"name": "ts-chatgpt",
"version": "0.3.0",
"version": "0.3.1",
"main": "./build/index.js",

@@ -26,2 +26,3 @@ "types": "./build/index.d.ts",

"gpt3",
"gpt-4",
"gpt4",

@@ -51,2 +52,3 @@ "chatbot",

"@babel/preset-typescript": "^7.13.0",
"@faker-js/faker": "^7.6.0",
"@types/dotenv": "^8.2.0",

@@ -53,0 +55,0 @@ "@types/jest": "^26.0.23",

@@ -62,2 +62,8 @@ # ts-chatgpt

There are two types of return values for the `prompt` function: `ChatGPT` and `ChatGPTError`.
| Type | Description |
| -------------- | ------------------------------------------------------- |
| `ChatGPT` | The response from the ChatGPT API. |
| `ChatGPTError` | The response from the ChatGPT API when an error occurs. |
`ChatGPT` by type is as follows:

@@ -89,3 +95,3 @@

Next, ChatGPTError as a type is as follows:
Next, `ChatGPTError` as a type is as follows:

@@ -92,0 +98,0 @@ ```ts

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