Socket
Socket
Sign inDemoInstall

decompress-tarxz

Package Overview
Dependencies
83
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    decompress-tarxz

decompress tar.xz plugin


Version published
Maintainers
2
Install size
4.60 MB
Created

Readme

Source

decompress-tarxz Build Status

tar.xz decompress plugin

Install

$ npm install decompress-tarxz

Usage

const decompress = require('decompress');
const decompressTarxz = require('decompress-tarxz');

(async () => {
	await decompress('unicorn.tar.xz', 'dist', {
		plugins: [
			decompressTarxz()
		]
	});

	console.log('Files decompressed');
})();

API

decompressTarxz()(input)

Returns both a Promise<Buffer> and a Duplex stream.

input

Type: Buffer Stream

Buffer or stream to decompress.

Keywords

FAQs

Last updated on 06 Sep 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc