Optionaljobs?: numberThe most entries to extract at one time. Default, and with 0,
16. A positive integer, or Infinity.
OptionalmaxReadSize?: numberThe most bytes to read from the file at one time. Default, and
with 0, 16 MiB. A positive integer, or Infinity.
OptionalonEntry?: (entry: ReadEntry) => unknownCalled with each entry before it is extracted. A promise is awaited before the entry is extracted.
Optionaltransform?: (entry: ReadEntry) => TransformStream<Uint8Array, Uint8Array> | undefinedReturn a stream that changes the content of a file entry, or
undefined to write the content as it is.
The options of
extract. Setinput, orfile. Withfile, thefsmust also have the functions ofTarFS.