🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@compilets/untar-url

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compilets/untar-url

Untar remote or local .tar/.tar.gz file to local disk

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

untar-url

Untar remote or local .tar/.tar.gz file to local disk.

Import

import {untar} from '@compilets/untar-url';

API

interface UntarOptions {
    filter?: (fileName: string) => boolean;
}
export declare function untar(url: string, targetDir: string, options?: UntarOptions): Promise<void>;

Example

import {untar} from '@compilets/untar-url';

await untar('https://some.tar.gz', '/tmp/mytar');

CLI

npx untar-url https://some.tar.gz /tmp/mytar

Keywords

tar

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts