tar-xz - v6.1.1
    Preparing search index...

    Function list

    • List the contents of a tar.xz archive.

      Returns an AsyncIterable<TarEntry> yielding each entry's metadata. Entry content is skipped — use extract() if you need the data. Memory usage is bounded to O(BLOCK_SIZE) — no content bytes are held.

      Parameters

      Returns AsyncIterable<TarEntry>

      for await (const entry of list(input)) {
      console.log(entry.name, entry.size);
      }