fast-extract
Version:
Extract contents from various archive types (tar, tar.bz2, tar.gz, tar.xz, tgz, zip)
9 lines (8 loc) • 460 B
TypeScript
import { Transform, type TransformCallback, type TransformOptions } from 'stream';
import type { OptionsInternal, Progress } from '../../types.ts';
export default class EntryProgressTransform extends Transform {
private progress;
constructor(options: OptionsInternal | TransformOptions<Transform>);
_transform(entry: Progress, encoding: BufferEncoding, callback: TransformCallback): undefined;
_flush(callback: TransformCallback): undefined;
}