Zip multiple file With Zlib meteor.js (zip all file in one folder)


Hi everyone.
I am trying to use Zlib in node.js for zip some files in my App. but my problem is , I don`t know how to implement this ?
I used :

fs.mkdirSync('myProject path/public/s'); // for create folder 
fs.openSync('myProject path/public/s'); // then open it

how to write file in this folder (I am using ostrio:files ). and finally how to zip this folder ?
thanks for your attentions. :slight_smile: