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

/yield-stream/

    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