Today I learned that zip unpacking requires random access. So it can't be used with streaming in node.js without buffering the whole file. My use case involves downloading data file using the from a GitHub repo URL. Can I get a different archive format? One that is compatible with streaming and pipe in node?

@tomosaigon I can get a zip from GitHub by adding archive/ on the end of the repo URL. Is there similar for gzip?

@daz probably only if you convert it yourself or you gzip it yourself

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.