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

x/ayonli_jsext/archive.ts>Tarball#stream

A JavaScript extension package for building strong and modern applications.
Latest
method Tarball.prototype.stream
Re-export
import { Tarball } from "https://deno.land/x/ayonli_jsext@v0.9.72/archive.ts";

Returns a readable stream of the archive that can be piped to a writable target.

This method can only be called once per instance, as after the stream has been consumed, the underlying data of the archive's entries will no longer be available, and subsequent calls to this method will throw an error.

To reuse the stream, use the tee() method of the stream to create a copy of the stream instead.

Parameters

optional
options: { gzip?: boolean; } = [UNSUPPORTED]