Const
Unpacks a gzipped tarball by spawning a process to run OS-installed tar to avoid pulling in npm package dependencies. This method will throw an error if the unpackDirectory is not empty, unless the throwOnNonEmptyUnpackDir option is set to false.
tar
throwOnNonEmptyUnpackDir
The path to the tarball to unpack
The directory to unpack the tarball into
Optional
The options to use when unpacking the tarball. See TarballUnpackOptions.
Unpacks a gzipped tarball by spawning a process to run OS-installed
tarto avoid pulling in npm package dependencies. This method will throw an error if the unpackDirectory is not empty, unless thethrowOnNonEmptyUnpackDiroption is set to false.