Skip to content

Unzip a remote ZIP file to local disk.

License

Notifications You must be signed in to change notification settings

compilets/unzip-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unzip a remote ZIP file to local disk.

Topics

Resources

License

Stars

Watchers

Forks

Contributors