Reading the entries of a zip file in Node with node:zlib

A build script that downloads a zip archive often only needs one or two files out of it. If the download is gzipped then node:zlib covers that with gunzipSync . If it's a zip archive, however, that's a bit trickier, because a zip archive is a container format as well as containing compressed data. The native Node.js library only handles the compression half. Pulling one file out of a zip usually…