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

std/node/_stream.d.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.118.0/node/_stream.d.ts";

A utility method for creating Readable Streams out of iterators.

Parameters

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