decompress-tarbz2

WebJar for decompress-tarbz2

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

decompress-tarbz2
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

decompress-tarbz2
WebJar for decompress-tarbz2
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kevva/decompress-tarbz2

Download decompress-tarbz2

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/decompress-tarbz2/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>decompress-tarbz2</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/decompress-tarbz2/
implementation 'org.webjars.npm:decompress-tarbz2:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/decompress-tarbz2/
implementation ("org.webjars.npm:decompress-tarbz2:2.0.0")
'org.webjars.npm:decompress-tarbz2:jar:2.0.0'
<dependency org="org.webjars.npm" name="decompress-tarbz2" rev="2.0.0">
  <artifact name="decompress-tarbz2" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='decompress-tarbz2', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "decompress-tarbz2" % "2.0.0"
[org.webjars.npm/decompress-tarbz2 "2.0.0"]

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.npm » simple-bufferstream jar 0.0.4
org.webjars.npm : strip-dirs jar [0.1.1,0.2)
org.webjars.npm : vinyl jar [0.4.3,0.5)
org.webjars.npm : seek-bzip jar [1.0.3,2)
org.webjars.npm » is-bzip2 jar [1.0.0,2)
org.webjars.npm : through2 jar [0.6.1,0.7)
org.webjars.npm : tar jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

decompress-tarbz2 Build Status

tar.bz2 decompress plugin

Install

$ npm install decompress-tarbz2

Usage

const decompress = require('decompress');
const decompressTarbz = require('decompress-tarbz2');

decompress('unicorn.tar.gz', 'dist', {
	plugins: [
		decompressTarbz()
	]
}).then(() => {
	console.log('Files decompressed');
});

API

decompressTarbz()(input)

Returns both a Promise for a Buffer and a Duplex stream.

input

Type: Buffer Stream

Buffer to decompress.

License

MIT © Kevin Mårtensson

Versions

Version
2.0.0