The codecs of a node:zlib module: gzip, then brotli and zstd if
the module has their functions.
The value of a gzip, brotli, or zstd option of create goes
to the zlib function as its options. A gzip codec reads the tar
option portable in its options: it makes output that does not
name the system.
A brotli archive has no magic number. The readers use the brotli
codec for a file with a name that ends in .tar.br or .tbr, if
the file does not start with a tar header.
The codecs of a
node:zlibmodule: gzip, then brotli and zstd if the module has their functions.The value of a
gzip,brotli, orzstdoption ofcreategoes to the zlib function as its options. A gzip codec reads the tar optionportablein its options: it makes output that does not name the system.A brotli archive has no magic number. The readers use the brotli codec for a file with a name that ends in
.tar.bror.tbr, if the file does not start with a tar header.