Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pickit/mod.ts>tarGzPickFiles

Extract files from tarballs and github repos using glob syntax or regular expressions.
Latest
function tarGzPickFiles
import { tarGzPickFiles } from "https://deno.land/x/pickit@v0.0.4/mod.ts";

Pick files from a tar.gz archive.

Parameters

  • Deno.open('archive.tar.gz')
pick: RegExp[]
  • [ /.ts$/ ]

Returns

ReturnType<ReadableEntry["read"]>