javascript - How do I stream an archive file with Node? -


i'm interested in streaming .zip/.rar/etc archives straight memory, not archiving them on fly via node module like one. kind of stream have transformed? have unzip archive before handing on writable, archives again?

maybe misunderstanding if want stream zipped files, can use readable stream. fs module makes easy create readstreams files.

for example:

     fs.createreadstream('my.zip').pipe(mywritestream); 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -