decompress-tar

WebJar for decompress-tar

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

decompress-tar
Last Version

Last Version

4.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

decompress-tar
WebJar for decompress-tar
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

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

Download decompress-tar

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.npm : file-type jar [5.2.0,6)
org.webjars.npm : is-stream jar [1.1.0,2)
org.webjars.npm : tar-stream jar [1.5.2,2)

Project Modules

There are no modules declared in this project.

decompress-tar Build Status

tar decompress plugin

Install

$ npm install decompress-tar

Usage

const decompress = require('decompress');
const decompressTar = require('decompress-tar');

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

API

decompressTar()(input)

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

input

Type: Buffer Stream

Buffer or stream to decompress.

License

MIT © Kevin Mårtensson

Versions

Version
4.1.1