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