zfolder
v1.1.2
Published
Zip all files inside folder
Maintainers
Readme
ZFolder 
Zip all files inside folder
Node module that recursively zips files inside given folder.
Installation
npm install zfolderAPI
await ZFolder(folder[, zip_path, options])folder
Type: String
zip_path
Type: String
options
Type: Object
filter<Object> | <Function> Filter some files. For more details check ReadDirRec module settingsrecursive<Boolean> Iffalse, then nested files would be ignored.trueby default
@return
Type: Object
Returns path to zip-archive and total zipped files
{
path: Z:/ ... /test.zip,
}Usage
const ZFolder = require('zfolder');
let result = await ZFolder('./test/');Changelog
v1.1.0 (2019-03-16):
- added option to
filterfiles inside the folder
