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

x/deno/std/archive/mod.ts>Tar

A modern runtime for JavaScript and TypeScript.
Go to Latest
class Tar
import { Tar } from "https://deno.land/x/deno@v0.28.0/std/archive/mod.ts";

A class to create a tar archive

Constructors

new
Tar(recordsPerBlock?: number)

Properties

private
blockSize: number
out: Uint8Array
written: number

Methods

append(fileName: string, opts: TarOptions): Promise<void>

Append a file to this tar archive

getReader(): Deno.Reader

Get a Reader instance for this tar data