Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
denoland/stdWorks with
•JSR Score94%•This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




Downloads3,880/wk
•Published4 months ago (0.1.10)
UNSTABLE: Streaming utilities for working with tar archives.
Streaming utilities for working with tar archives.
Files are not compressed, only collected into the archive.
import { UntarStream } from "@std/tar/untar-stream"; import { dirname, normalize } from "@std/path"; for await ( const entry of (await Deno.open("./out.tar.gz")) .readable .pipeThrough(new DecompressionStream("gzip")) .pipeThrough(new UntarStream()) ) { const path = normalize(entry.path); await Deno.mkdir(dirname(path), { recursive: true }); await entry.readable?.pipeTo((await Deno.create(path)).writable); }
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/tar
Import symbol
import * as tar from "@std/tar";
Import directly with a jsr specifier
import * as tar from "jsr:@std/tar";