[go: nahoru, domu]

unarchive

1.1.3 • Public • Published

unarchive

This tool is a utility wrapper around the compressing package

it automatically detects the compression type (zip/tar/tar.gz) and extracts the content of the archive

Installation

npm install unarchive

or

yarn add unarchive
pnpm add unarchive
bun add unarchive

Usage

//const unarchive = require('unarchive')
import unarchive from 'unarchive'

await unarchive(archiveName, 'outputFolder')

Supported formats

  • zip
  • tar
  • tar.gz / tgz

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i unarchive

Weekly Downloads

40

Version

1.1.3

License

MIT

Unpacked Size

4.42 kB

Total Files

7

Last publish

Collaborators

  • araxeus