decompress-tarxz
decompress tar.xz plugin
Last updated 10 months ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install decompress-tarxz 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 3.0.0                                ...           latest (10 months ago)

7 Versions

  • 3.0.0                                ...           10 months ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |