0

I have a folder I need to zip on my node server to send over on a buffer stream. What would be the best way to compress the directory?

I've tried using npm adm-zip, but I can only find a function for compressing individual files, not an entire directory... is this even possible with adm-zip? If not is anybody aware of another package that could do this?

Sorry if this is an incredibly obvious question, I'm new to node.js

Ian Wise
  • 706
  • 2
  • 10
  • 31

0 Answers0