compressing
compressing copied to clipboard
Everything you need for compressing and uncompressing
How to stop decompressing zip?
My requirement is to provide a nodejs service, compress the network resources, and then provide it to the front-end page to download. While downloading network resources become compressed, can provide...
Hi, man ! what I do: ```JavaScript // the front upload a `prd.zip` file。I receive it, unzip it,and send it to another folder。 // I use the following code。 const...
目前默认的ZIP压缩是忽略空文件夹的,有些时候,压缩时需要保留空文件夹怎么办?
在electron 中使用compressing解压zip 时报错 Uncaught ReferenceError: setImmediate is not defined 在preload.js中引入 ` var compressing = require("compressing"); var fs = require("fs"); var path = require("path"); var request = require("request"); `
for example `compressing.zip.compressDir('/foo/bar', 'foo.zip')` will end up with ``` /bar/a.txt /bar/b.txt ``` whereas I'd like to have ``` /a.txt /b.txt ``` Thanks
.then(result => compressing.tgz.uncompress(result.res, targetDir))
In OSX, if you unzip the same file repeatedly, you get the wrong path, and the last folder in the path is replaced with .DS_Store
Using `uncompress` with file, the extracted files' create time and modified time are the same as current time, which lost the original create and modified time of the file itself....