Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
denoland/stdUNSTABLE: Streaming utilities for working with tar archives.
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
JSR Score
94%
Published
2 days ago (0.1.4)
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
View transparency logGitHub Actions
Add Package
deno add jsr:@std/tar
Import symbol
import * as tar from "@std/tar";
---- OR ----
Import directly with a jsr specifier
import * as tar from "jsr:@std/tar";
Add Package
npx jsr add @std/tar
Import symbol
import * as tar from "@std/tar";
Add Package
yarn dlx jsr add @std/tar
Import symbol
import * as tar from "@std/tar";
Add Package
pnpm dlx jsr add @std/tar
Import symbol
import * as tar from "@std/tar";
Add Package
bunx jsr add @std/tar
Import symbol
import * as tar from "@std/tar";