yield-stream
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

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";

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.1.0
    1,128
    • latest
  • 3.1.1-0
    0
    • cjs

Version History

Package Sidebar

Install

npm i yield-stream

Weekly Downloads

1,600

Version

3.1.0

License

MIT

Unpacked Size

8.66 kB

Total Files

23

Last publish

Collaborators

  • ctjlewis