compressing icon indicating copy to clipboard operation
compressing copied to clipboard

Everything you need for compressing and uncompressing

Results 60 compressing issues
Sort by recently updated
recently updated
newest added

更新了所有的依赖到最新版本

Creating a tar archive on Windows with a directory results instead in the file having '\\' in its name, and on extraction on POSIX, does not create the appropriate directory....

bug

解压支持symlink类型 [#57 linux (ubuntu) 下软连接文件解压时会被变成空目录](https://github.com/node-modules/compressing/issues/57)

enhancement

when I compressing.zip.uncompress, throw: ``` ZipUncompressStreamError: end of central directory record signature not found```

windows 下打包以后,压缩包中出现了很多PaxHeader文件. ![image](https://user-images.githubusercontent.com/3336443/66554260-4014f500-eb7f-11e9-8150-6394eee40dd0.png) 在Ubuntu 16.04中解压以后,文件目录结构是平的 ![image](https://user-images.githubusercontent.com/3336443/66554663-f8429d80-eb7f-11e9-981b-b917eb40b968.png)

hello: When I used compressing a tar.gz file by running `compressing.tgz.uncompress('./test.tar.gz', 'bin');`, It uncompressed the soft link files in the tar.gz package as a folder (the `idle3`): ```lang=shell mac@Titan bin...

修改 **lib/zip/stream.js** 文件中添加 **_addDirEntry** 方法如下,添加一下代码,此方法为临时修复,希望作者可以给出相应的修复方案,更新npm包 **此方案只修复zip打包方式,其他打包请参考** ``` //需要头部导入两个包 const fs = require('fs'); const utils = require('../utils'); _addDirEntry(entry, opts) { //先创建文件夹 this._zipfile.addEmptyDirectory(opts.relativePath || path.basename(entry), opts); fs.readdir(entry, (err, files) => { if...

const { zip } = require('compressing'); const fs = require('fs') const zipStream = new zip.Stream(); zipStream.addEntry('test.html') setTimeout(() => { zipStream.addEntry('yarn.lock') setTimeout(() => { zipStream.addEntry('package.json') setTimeout(() => { zipStream.pipe(fs.createWriteStream('test.zip')); }, 3000)...

How can i use zip.compressDir without origin directory ?