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

x/ayonli_jsext/workerd/archive.ts>UntarOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface UntarOptions
implements TarOptions
Re-export
import { type UntarOptions } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/archive.ts";

Options for the untar function.

Properties

optional
size: number

The size of the tarball file in bytes. When specified, the progress event will be dispatched with the lengthComputable property set to true and the total property set to this value.

This option is optional when the source is a file path or a file handle, in which case the size will be determined by the file system.

optional
onProgress: (event: ProgressEvent) => void

A callback function that will be called when the extraction progress changes.