@xingrz/decompress-tarzst
TypeScript icon, indicating that this package has built-in type declarations

5.2.0-alpha.0 • Public • Published

@xingrz/decompress-tarzst test

license issues stars commits

@xingrz/decompress .tar.zst plugin.

Install

npm install --save @xingrz/decompress-tarzst

Usage

import decompress from '@xingrz/decompress';
import decompressTarzst from '@xingrz/decompress-tarzst';

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

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

API

decompressTarzst(): (input: Buffer | Readable) => Promise<File[]>

Returns a Promise<File[]>.

input

Type: Buffer or stream.Readable

Buffer or stream to decompress.

License

MIT License

Package Sidebar

Install

npm i @xingrz/decompress-tarzst

Weekly Downloads

4

Version

5.2.0-alpha.0

License

MIT

Unpacked Size

6.45 kB

Total Files

5

Last publish

Collaborators

  • xingrz