Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

decomp-tar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decomp-tar

decompress tar plugin

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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

Keywords

decompress

FAQs

Package last updated on 30 Sep 2023

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