unzip-url
v1.0.5
Published
Unzip a remote ZIP file to local disk
Downloads
46
Readme
unzip-url
Unzip a remote zip file to local disk.
Import
import {unzip} from '@compilets/unzip-url';
API
export declare function unzip(url: string, targetDir: string): Promise<void>;
Example
import {unzip} from '@compilets/unzip-url';
await unzip('https://some.zip', '/tmp/myzip');
CLI
npx unzip-url https://some.zip /tmp/myzip