d
Size: a a a
d
d
N
N
DT
N
d
N
d
N
d
N
N
d
N
N
d
N
Р
const zip = fs.createWriteStream('./converted/'+path.basename(file, '.tar')+'.zip');
const progress = true;
tarToZip(file, {progress})
.on('progress', onProgress)
.on('file', console.log)
.on('error', onError)
.getStream()
.pipe(zip)
.on('finish', onFinish);
АН