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

x/dtils/stream.ts

The best unofficial library of utilities for Deno applications
Go to Latest
import * as dtils from "https://deno.land/x/dtils@2.4.0/stream.ts";

Functions

Collect the chunks of stream into an array

Read 1streamintofn, calling fnfor every chunk. Iffn` returns a promise, it will be awaited