@drupflare/untarl - v0.1.0
    Preparing search index...

    Function tarEntryTree

    • Flattens entries into the file tree to write, with the leading strip path components removed.

      strip = 1 is the useful default because a drupal.org tarball wraps everything in one modulename/ directory. Directories are dropped -- a file's own path implies them -- and so is any file left with nothing after the strip, which is what tar's own --strip-components does. A later entry with the same resulting path wins, also matching tar.

      Parameters

      Returns Map<string, Uint8Array<ArrayBufferLike>>

      on a member path that is absolute or contains a .. component.