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

openai-streams

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai-streams - npm Package Compare versions

Comparing version 1.0.22-canary.14 to 1.0.22-canary.16

2

package.json
{
"name": "openai-streams",
"description": "Tools for working with OpenAI streams in Node.js and TypeScript.",
"version": "1.0.22-canary.14",
"version": "1.0.22-canary.16",
"license": "MIT",

@@ -6,0 +6,0 @@ "type": "module",

@@ -10,3 +10,3 @@ # OpenAI Streams

Now supports WHATWG *and* Node.js streams via `OpenAI()` and `OpenAI.Node()`.
Now supports WHATWG *and* Node.js streams for full Next.js API Route support.

@@ -27,5 +27,3 @@ It simplifies the following:

yarn add openai-streams
# or
# -or-
npm i --save openai-streams

@@ -60,3 +58,3 @@ ```

#### Example: Consuming streams in Next.js Edge functions
#### Edge/Browser: Consuming streams in Next.js Edge functions

@@ -85,3 +83,3 @@ ```ts

### Example: Consuming streams using Next.js API Route (Node)
### Node: Consuming streams in Next.js API Route (Node)

@@ -88,0 +86,0 @@ If you cannot use an Edge runtime or want to consume Node.js streams for another

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