Parses the content of a (decompressed) TAR archive and returns its regular file entries.
This is a minimal, dependency-free reader that works in both the browser and Node.js. It handles long entry
names from the USTAR prefix field, GNU long name (L type flag) entries, and PAX extended headers (x type
flag), and skips directories and other non-regular entries.
Returns
The regular file entries with their name and content.
Parses the content of a (decompressed) TAR archive and returns its regular file entries.
This is a minimal, dependency-free reader that works in both the browser and Node.js. It handles long entry names from the USTAR
prefixfield, GNU long name (Ltype flag) entries, and PAX extended headers (xtype flag), and skips directories and other non-regular entries.Returns
The regular file entries with their name and content.