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

std/archive/untar.ts>Untar#extract

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Untar.prototype.extract
import { Untar } from "https://deno.land/std@0.204.0/archive/untar.ts";

Extract the next entry of the tar archive.

Returns

Promise<TarEntry | null>

A TarEntry with header metadata and a reader to the entry's body, or null if there are no more entries to extract.