Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/stream.ts>Readable.from

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Readable.from
import { Readable } from "https://deno.land/std@0.128.0/node/stream.ts";

A utility method for creating Readable Streams out of iterators.

Parameters

iterable: Iterable<any> | AsyncIterable<any>
optional
options: ReadableOptions