How to Download and Extract a Zip File with Node

node

Downloading and extracting a zip file using Node seemed like a pretty easy task but alas it took some time to figure out. While researching how to do this, I didn’t find a library that had all of the requirements within it but I did find a few that allowed me to meet the requirements Requirements Download zip file from a url Extract zip file to a directory location Extract a single directory and all of its sub-directories within the zip file Downloading the Zip File Step 1 was to get the zip file downloaded using Node and make sure that I could manually open it.

Read More ›