New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

unarchive

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unarchive

Automatically extract archives of various types

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

unarchive

This tool is a utility wrapper around the compressing package

it automatically detects the compression type (zip/tar/tar.gz/gz/crx/xpi) 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
  • gz (gzip files)
  • tar.gz / tgz
  • xpi (Firefox extension files)
  • crx (Chrome extension files)

Keywords

uncompress

FAQs

Package last updated on 08 Dec 2025

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