@mikeyt23/node-cli-utils
    Preparing search index...

    Variable unpackTarballConst

    unpackTarball: (
        tarballPath: string,
        unpackDirectory: string,
        options?: Partial<TarballUnpackOptions>,
    ) => Promise<void> = defaultUtil.unpackTarball

    Type Declaration

      • (
            tarballPath: string,
            unpackDirectory: string,
            options?: Partial<TarballUnpackOptions>,
        ): Promise<void>
      • 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.

        Parameters

        • tarballPath: string

          The path to the tarball to unpack

        • unpackDirectory: string

          The directory to unpack the tarball into

        • Optionaloptions: Partial<TarballUnpackOptions>

          The options to use when unpacking the tarball. See TarballUnpackOptions.

        Returns Promise<void>