tar-xz - v6.1.1
    Preparing search index...

    Interface ExtractOptions

    Options for extract().

    interface ExtractOptions {
        filter?: (entry: TarEntry) => boolean;
        strip?: number;
    }
    Index

    Properties

    Properties

    filter?: (entry: TarEntry) => boolean

    Optional filter — return false to skip an entry

    strip?: number

    Number of leading path components to strip (default: 0)