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

x/pickit/mod.ts>tarPickFiles

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

Pick files from a tar.gz archive.

Parameters

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

Returns

ReturnType<ReadableEntry["read"]>