Skip to main content

Built and signed on GitHub Actions

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
3 days ago (0.1.0)
function list
list<T>(readable: ReadableStream<T>): Promise<T[]>

Retrieve all items from a readable stream to build a list of chunks

Examples

Example 1

const arr = list(readable1)

Type Parameters

Parameters

readable: ReadableStream<T>

The readable stream to get items from

Return Type

A list whose items are the readable chunks

Add Package

deno add jsr:@sgmonda/qfu

Import symbol

import { list } from "@sgmonda/qfu";

---- OR ----

Import directly with a jsr specifier

import { list } from "jsr:@sgmonda/qfu";

Add Package

npx jsr add @sgmonda/qfu

Import symbol

import { list } from "@sgmonda/qfu";

Add Package

yarn dlx jsr add @sgmonda/qfu

Import symbol

import { list } from "@sgmonda/qfu";

Add Package

pnpm dlx jsr add @sgmonda/qfu

Import symbol

import { list } from "@sgmonda/qfu";

Add Package

bunx jsr add @sgmonda/qfu

Import symbol

import { list } from "@sgmonda/qfu";