Skip to content

A small library for switching between streams, generators, and arrays.

License

Notifications You must be signed in to change notification settings

SpellcraftAI/yield-stream

Repository files navigation

yield-stream

Github | NPM | Docs

A small library for switching between streams, generators, and arrays. See docs for details.

Note: Using NodeJS.ReadableStream

By default, this library uses WHATWG ReadableStream, which is only available on Node 18+. If you are on an older version of Node or otherwise need to use NodeJS.ReadableStream, import from:

import { yieldStream } from "yield-stream/node";

About

A small library for switching between streams, generators, and arrays.

Resources

License

Stars

Watchers

Forks

Packages

No packages published