Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 337 Bytes

File metadata and controls

19 lines (13 loc) · 337 Bytes

@d-zero/fs

zip アーカイブの作成・展開ユーティリティ。

Installation

yarn add @d-zero/fs

Usage

import { zip, unzip, extractZip } from '@d-zero/fs/zip';

await zip('archive.zip', 'targetDir');
await unzip('archive.zip', 'extractDir');
const directory = await extractZip('archive.zip');